{
  "match_info": {
    "home_team": "Real Betis",
    "away_team": "Getafe",
    "tournament": "LaLiga",
    "date": "20260917",
    "timezone": "America/New_York",
    "home_formation": "3-5-2",
    "away_formation": "3-4-2-1",
    "lineup_status": "projected_from_squad",
    "lineup_source": "/teams/get-squad",
    "lineup_confirmed": false,
    "lineup_confidence": 0.45
  },
  "prediction": {
    "most_likely_score": "1-0",
    "home_goals": 1,
    "away_goals": 0,
    "most_likely_score_probability": 0.1311,
    "match_resolution": "regulation",
    "predicted_winner": "Real Betis",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.304,
      "shootout_home_win_probability": null,
      "shootout_away_win_probability": null,
      "penalty_home_goals": null,
      "penalty_away_goals": null,
      "penalty_score": null,
      "penalty_winner": null,
      "penalty_winner_goals": null,
      "penalty_loser_goals": null,
      "penalty_result": null,
      "home_advance_probability": null,
      "away_advance_probability": null,
      "projected_winner": null,
      "projected_winner_probability": null,
      "final_score_after_penalties": null,
      "reason": "Tie-breaker not required for this match context."
    },
    "top_5_scorelines": [
      {
        "score": "1-0",
        "probability": 0.1311
      },
      {
        "score": "1-1",
        "probability": 0.1364
      },
      {
        "score": "0-0",
        "probability": 0.1265
      },
      {
        "score": "0-1",
        "probability": 0.1264
      },
      {
        "score": "2-1",
        "probability": 0.0715
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.1265,
      "0-1": 0.1264,
      "0-2": 0.0651,
      "0-3": 0.0221,
      "0-4": 0.0056,
      "0-5": 0.0012,
      "1-0": 0.1311,
      "1-1": 0.1364,
      "1-2": 0.0689,
      "1-3": 0.0234,
      "1-4": 0.006,
      "1-5": 0.0012,
      "2-0": 0.0701,
      "2-1": 0.0715,
      "2-2": 0.0364,
      "2-3": 0.0124,
      "2-4": 0.0032,
      "2-5": 0.0006,
      "3-0": 0.0247,
      "3-1": 0.0252,
      "3-2": 0.0129,
      "3-3": 0.0044,
      "3-4": 0.0011,
      "4-0": 0.0065,
      "4-1": 0.0067,
      "4-2": 0.0034,
      "4-3": 0.0012,
      "5-0": 0.0014,
      "5-1": 0.0014,
      "5-2": 0.0007
    },
    "outcome": {
      "home_win": 0.3578,
      "draw": 0.304,
      "away_win": 0.3382
    },
    "markets": {
      "over_2_5_goals": 0.3444,
      "under_2_5_goals": 0.6556,
      "btts_yes": 0.4188,
      "btts_no": 0.5812,
      "home_clean_sheet": 0.3606,
      "away_clean_sheet": 0.3471
    },
    "home_ratings": {
      "DR": 6.87,
      "MCR": 7.15,
      "ATR": 7.02,
      "GK": 7.35
    },
    "away_ratings": {
      "DR": 5.98,
      "MCR": 6.8,
      "ATR": 6.89,
      "GK": 6.99
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Real Betis vs Getafe. Most likely scoreline: 1-0. Lambdas derived from 6 home and 7 away individual player duels.",
      "key_player": "Projected scorer(s): Cucho Hernández",
      "tactical_analysis": "Tactical parity between 3-5-2 and 3-4-2-1. Match outcome driven primarily by individual player quality. Home midfield dominates with ~52% possession expected (Abdessamad Ezzalzouli vs Mario Martín). Total antagonist xG — Home: 0.64, Away: 1.08. Home danger zone: Central Mid vs Central Mid — Box-to-Box Midfield Contest. Away danger zone: Shadow Striker vs Centre Back — Half-Space Threat."
    },
    "confidence": 0.55,
    "home_lambda": 1.058,
    "away_lambda": 1.02,
    "modal_scoreline": "1-1",
    "modal_scoreline_probability": 0.1364,
    "headline_policy": "decisive_score_substitution"
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.3578,
      "draw": 0.304,
      "away_win": 0.3382
    },
    "favorite": "Real Betis",
    "favorite_win_probability": 0.3578,
    "fair_spread": 0.038,
    "fair_total": 2.078,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Real Betis",
        "estimate": 1.058,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Getafe",
        "estimate": 1.02,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.3444,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.4188,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Real Betis",
        "estimate": 1.0,
        "probability": 0.3606,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Getafe",
        "estimate": 1.0,
        "probability": 0.3471,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Antony (Real Betis)",
        "estimate": 0.2024,
        "probability": 0.174,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Martín Satriano (Getafe)",
        "estimate": 0.2671,
        "probability": 0.0,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Antony (Real Betis)",
        "estimate": 0.1495,
        "probability": 0.2276,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Christantus Uche (Getafe)",
        "estimate": 0.098,
        "probability": 0.0,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "high",
      "expected_total_goals": 2.078,
      "expected_total_shots": 30,
      "expected_total_passes": 703,
      "expected_pressing_actions_per_90": 13.6,
      "possession_home_pct": 52.2,
      "possession_away_pct": 47.8,
      "notes": "possession projects near even"
    },
    "expected_game_script": {
      "favorite": "Real Betis",
      "favorite_win_probability": 0.3578,
      "script": "Real Betis is the fair winner side, but the baseline remains narrow: fair spread +0.04 goals and fair total 2.08.",
      "first_half": "Expect high tempo while both sides test the matchup thesis; shot baseline is about 15 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Getafe must keep the match inside one goal.",
      "late_game": "A Real Betis lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Getafe chance creation leans on Martín Satriano against Natan in Shadow Striker vs Centre Back — Half-Space Threat; possession projects near even.",
    "expected_rotation_usage_behavior": [
      "Real Betis: starters carry the main goal usage through Cucho Hernández; bench watchlist: Pablo García, Dani Ceballos.",
      "Getafe: starters carry the main goal usage through the highest xG attackers; bench watchlist: Borja Mayoral, Ivan Azón, Nemanja Gudelj.",
      "Assist usage should flow through Antony; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Real Betis tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects high tempo, about 15 total first-half shots, and 1.04 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 Getafe is chasing, transition and set-piece volume become the primary live deviation signal; a draw state keeps set pieces and transition chances live."
    ],
    "invalidation_triggers": [
      "Early red card, injury, or goalkeeper change for Real Betis.",
      "Getafe wins the midfield/territory battle beyond the possession baseline.",
      "Pace collapses: first 25 minutes fall well below the shot and box-entry baseline.",
      "Set pieces, penalties, or second balls create more danger than the open-play matchup thesis."
    ],
    "top_3_risk_factors": [
      {
        "factor": "Low-event scoring variance",
        "impact": "One penalty, deflection, or missed big chance can overwhelm the fair win probability."
      },
      {
        "factor": "Late lineup or role change",
        "impact": "A pregame XI, injury, or tactical role shift can invalidate player prop and usage estimates."
      },
      {
        "factor": "Discipline and set-piece volatility",
        "impact": "Cards, fouls in dangerous zones, and corner volume can change the expected game script quickly."
      }
    ]
  },
  "teams": {
    "Real Betis": {
      "formation": "3-5-2",
      "players": {
        "Álvaro Valles": {
          "player_id": 964983,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 192,
          "market_value": 6500000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.3266,
            "rating": 7.3492,
            "minutes": 89,
            "total_pass": 25,
            "accurate_pass": 17,
            "duels_won": 0,
            "total_long_balls": 12,
            "accurate_long_balls": 4,
            "touches": 38,
            "clearances": 0,
            "ball_recovery": 9,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 2,
            "sweeper_accurate": 2,
            "saves_inside_box": 3,
            "possession_lost": 7.7048,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 14,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "total_shots": 0,
            "shots_on_target": 0,
            "goalsAgainst": 1.67,
            "shotsOnTargetAgainst": 5.0,
            "cleanSheets": 0.6667,
            "interceptions": 0,
            "tackles_won": 0,
            "crosses_total": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "penaltySave": 0.0,
            "ownGoals": 0.0,
            "savePct": 66.7,
            "cleanSheetPct": 66.7,
            "minutesPct": 100.0,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "expected_saves": 2.26,
            "high_pressure_saves": 0.86,
            "shots_faced": 4.8,
            "opponent_faced": "Martín Satriano, Enes Ünal",
            "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": 77.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416333.0,
              "match_date": "2026-09-14 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": "Villarreal",
              "away_team": "Real Betis",
              "home_score_current": 1.0,
              "away_score_current": 2.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 10.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 11,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 9,
                "saves": 6,
                "goals_prevented": 2.9806
              },
              "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": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 19,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 8,
                "saves": 4,
                "goals_prevented": -0.583
              },
              "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": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 17,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 7,
                "saves": 3,
                "goals_prevented": 1.1262
              },
              "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": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 21,
                "clearances": 3,
                "ball_recovery": 14,
                "saves": 3,
                "goals_prevented": 0.5213
              },
              "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": 2143,
            "combined_rank_score": 808.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 50.0,
            "sofascore_rating": 7.7333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1567.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "projected_match_rating": 7.3492,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álvaro Valles",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Vlatko Stojanovski",
                  "ranking": 2138
                },
                {
                  "player_name": "Islom Tukhtakhuzhaev",
                  "ranking": 2139
                },
                {
                  "player_name": "Juan Figueroa",
                  "ranking": 2140
                },
                {
                  "player_name": "Kaito Taniguchi",
                  "ranking": 2141
                },
                {
                  "player_name": "Seok-jun Hong",
                  "ranking": 2142
                }
              ],
              "lower": [
                {
                  "player_name": "Lazar Samardžić",
                  "ranking": 2144
                },
                {
                  "player_name": "Giovanny Avalos",
                  "ranking": 2145
                },
                {
                  "player_name": "Nahuel Tenaglia",
                  "ranking": 2146
                },
                {
                  "player_name": "Breel Embolo",
                  "ranking": 2147
                },
                {
                  "player_name": "Sergi Cardona",
                  "ranking": 2148
                }
              ]
            }
          },
          "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.9942,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "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, Real Betis, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3285,
                "rating": 7.3923,
                "minutes": 90,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 10,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.75,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 14
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 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-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 1.8049,
                  "touches": 37.6558,
                  "totalOwnHalfPasses": 14.955,
                  "punches": 0.5405,
                  "distribution_accuracy": 0.9017,
                  "accurateKeeperSweeper": 1.6122
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 3.499781608581543,
                    "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": "goalkeeperValueNormalized",
                          "contribution": 0.3195
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0645
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0618
                        },
                        {
                          "name": "save_contribution",
                          "contribution": -0.0474
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.0423
                        }
                      ],
                      "others": 0.2921,
                      "total": 3.4998
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.32851865887641907,
                    "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.1775
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.1155
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": 0.0551
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "contribution": -0.0289
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0207
                        }
                      ],
                      "others": 0.0836,
                      "total": 0.3285
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.39232063293457,
                    "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.1204
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0845
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.0733
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": 0.0311
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0289
                        }
                      ],
                      "others": -0.0175,
                      "total": 7.3923
                    }
                  }
                ],
                "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.9942, quality 0.481)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14
              },
              "params": {
                "market_value_eur": 6500000,
                "quality_factor": 0.4805,
                "boost_factor": 0.9942
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0722)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -0.33
              },
              "params": {
                "blend_weight": 0.0722,
                "history_matches": 4,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 3.4794,
                  "after": 3.4689
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 2.26,
                "high_pressure_saves": 0.86,
                "shots_faced": 4.8,
                "opponent_faced": "Martín Satriano, Enes Ünal",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 0.7459, xG scale 1.4184)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 2.26,
                "high_pressure_saves": 0.86,
                "shots_faced": 4.8,
                "opponent_faced": "Martín Satriano, Enes Ünal",
                "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.058,
                "squad_xg_sum": 0.7459,
                "xg_scale": 1.4184
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 13, fifa_overall 77.0)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 2.26,
                "high_pressure_saves": 0.86,
                "shots_faced": 4.8,
                "opponent_faced": "Martín Satriano, Enes Ünal",
                "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": 77.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "starter",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 2.26,
                "high_pressure_saves": 0.86,
                "shots_faced": 4.8,
                "opponent_faced": "Martín Satriano, Enes Ünal",
                "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": 77.0
              },
              "params": {
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 2.26,
                "high_pressure_saves": 0.86,
                "shots_faced": 4.8,
                "opponent_faced": "Martín Satriano, Enes Ünal",
                "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": 77.0
              },
              "params": {
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0
              }
            }
          ]
        },
        "Natan": {
          "player_id": 1015287,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 4,
          "height": 188,
          "market_value": 26000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 6,
            "aerial_won": 2,
            "rating": 7.1418,
            "minutes": 95,
            "total_pass": 55,
            "accurate_pass": 51,
            "duels_won": 5,
            "total_long_balls": 4,
            "accurate_long_balls": 1,
            "total_own_half_passes": 32,
            "accurate_own_half_passes": 31,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 19,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 68,
            "possession_lost": 4.5714,
            "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": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0106,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 18,
            "total_progression": 42,
            "progressive_carries": 0,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.5,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 66.7,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "tackles_in_zone": 2.1,
            "tackles_won_in_zone": 2.0,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.624,
            "opponent_faced": "Martín Satriano",
            "pressing_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
            "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0438,
            "projected_assists": 0,
            "assist_probability": 0.0087,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416333.0,
              "match_date": "2026-09-14 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": "Villarreal",
              "away_team": "Real Betis",
              "home_score_current": 1.0,
              "away_score_current": 2.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assists": 0,
                "expected_assists": 0.0043,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 30,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "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": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0118,
                "expected_assists": 0.0122,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 72,
                "accurate_pass": 66,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 11,
                "aerial_won": 3,
                "duels_won": 6,
                "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": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assists": 0,
                "expected_assists": 0.0089,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 48,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 7,
                "aerial_won": 4,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1452,
            "combined_rank_score": 599.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 229.0,
            "sofascore_rating": 7.15,
            "sofascore_appearances": 2.0,
            "fifa_rank": 969.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "projected_match_rating": 7.1418,
            "source_file": "data/player_rankings.csv",
            "player_name": "Natan",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kuvonch Abraev",
                  "ranking": 1447
                },
                {
                  "player_name": "César Dutra",
                  "ranking": 1448
                },
                {
                  "player_name": "Samed Baždar",
                  "ranking": 1449
                },
                {
                  "player_name": "Curtis Jones",
                  "ranking": 1450
                },
                {
                  "player_name": "Álvaro García",
                  "ranking": 1451
                }
              ],
              "lower": [
                {
                  "player_name": "Ayoze Pérez",
                  "ranking": 1453
                },
                {
                  "player_name": "Mike Penders",
                  "ranking": 1454
                },
                {
                  "player_name": "Jarrad Branthwaite",
                  "ranking": 1455
                },
                {
                  "player_name": "Leonardo Valencia",
                  "ranking": 1456
                },
                {
                  "player_name": "Gulyamkhaydar Gulyamov",
                  "ranking": 1457
                }
              ]
            }
          },
          "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.0558,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "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": 0.5,
              "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, Real Betis, 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": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 2,
                "rating": 6.7647,
                "minutes": 90,
                "total_pass": 52,
                "accurate_pass": 48,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 31,
                "accurate_own_half_passes": 30,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 65,
                "possession_lost": 4.33,
                "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": 1,
                "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": 40,
                "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-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 46.9504,
                  "touches_p90": 63.1535,
                  "possessionLostCtrl": 4.1059,
                  "totalClearance": 7.9329,
                  "aerialWon": 2.1147
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.956912100315094,
                    "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.0479
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0261
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0238
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0195
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.013
                        }
                      ],
                      "others": -0.006,
                      "total": 0.9569
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2389463186264038,
                    "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.0739
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0578
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0503
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0287
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0268
                        }
                      ],
                      "others": 0.0675,
                      "total": 1.2389
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7509892582893372,
                    "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.0792
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0517
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0467
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0408
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0328
                        }
                      ],
                      "others": 0.0313,
                      "total": 0.751
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.492661952972412,
                    "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.4079
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4061
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3086
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.2799
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.2232
                        }
                      ],
                      "others": 0.4638,
                      "total": 5.4927
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.6252468824386597,
                    "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": "totalClearance",
                          "contribution": 0.0831
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0771
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0759
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0697
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0487
                        }
                      ],
                      "others": 0.0286,
                      "total": 1.6252
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.764686107635498,
                    "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.042
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0363
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.029
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0257
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.021
                        }
                      ],
                      "others": 0.074,
                      "total": 6.7647
                    }
                  }
                ],
                "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.0558, quality 0.686)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "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": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 26000000,
                "quality_factor": 0.6858,
                "boost_factor": 1.0558
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0542)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "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": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": -1.0
              },
              "params": {
                "blend_weight": 0.0542,
                "history_matches": 3,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.7929,
                  "after": 0.8583
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.0103,
                  "after": 0.9556
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "totalShots",
                  "before": 0.3484,
                  "after": 0.3566
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "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": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "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": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 2.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.624,
                "opponent_faced": "Martín Satriano",
                "pressing_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 0.7459, xG scale 1.4184)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "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": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 2.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.624,
                "opponent_faced": "Martín Satriano",
                "pressing_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.058,
                "squad_xg_sum": 0.7459,
                "xg_scale": 1.4184
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 3, fifa_overall 79.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "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": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 2.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.624,
                "opponent_faced": "Martín Satriano",
                "pressing_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "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": 3,
                "squad_role": "starter",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "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": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 2.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.624,
                "opponent_faced": "Martín Satriano",
                "pressing_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0438,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0438
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "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": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 2.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.624,
                "opponent_faced": "Martín Satriano",
                "pressing_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0438,
                "projected_assists": 0,
                "assist_probability": 0.0087,
                "fifa_overall": 79.0
              },
              "params": {
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0087
              }
            }
          ]
        },
        "Valentín Gómez": {
          "player_id": 1186010,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 16,
          "height": 181,
          "market_value": 11200000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 1,
            "rating": 6.7389,
            "minutes": 91,
            "total_pass": 63,
            "accurate_pass": 59,
            "duels_won": 6,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 42,
            "accurate_own_half_passes": 42,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 16,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 82,
            "possession_lost": 6.0656,
            "dispossessed": 1.0109,
            "duels_lost": 5,
            "aerial_lost": 2,
            "total_contest": 2,
            "won_contest": 2,
            "ball_recovery": 3,
            "challenges_lost": 2,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0101,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 18,
            "total_progression": 35,
            "progressive_carries": 0,
            "key_pass": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 33.3,
            "pointsPerMatch": 3.0,
            "netGoalDifferencePer90": 1.0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 1.1,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.801,
            "opponent_faced": "Christantus Uche",
            "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.0164,
            "projected_assists": 0,
            "assist_probability": 0.028,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assists": 0,
                "expected_assists": 0.0083,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 58,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 9,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3105,
            "combined_rank_score": 1070.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1984.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "projected_match_rating": 6.7389,
            "source_file": "data/player_rankings.csv",
            "player_name": "Valentín Gómez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Alexander Prass",
                  "ranking": 3100
                },
                {
                  "player_name": "Darwin Núñez",
                  "ranking": 3101
                },
                {
                  "player_name": "Fran Beltrán",
                  "ranking": 3102
                },
                {
                  "player_name": "Archie Gray",
                  "ranking": 3103
                },
                {
                  "player_name": "Rico Lewis",
                  "ranking": 3104
                }
              ],
              "lower": [
                {
                  "player_name": "Leandro Barreiro",
                  "ranking": 3106
                },
                {
                  "player_name": "Mattias Svanberg",
                  "ranking": 3107
                },
                {
                  "player_name": "Zakaria El Ouahdi",
                  "ranking": 3108
                },
                {
                  "player_name": "Haris Tabaković",
                  "ranking": 3109
                },
                {
                  "player_name": "Guus Til",
                  "ranking": 3110
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.323,
          "history_matches": 1,
          "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": 1,
            "data_confidence": 0.323,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0109,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 1.0,
              "minutes": 90.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0667
            },
            "rationale": "XGBoost regressor (D_service) evaluated 1 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.07, 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": 5,
                "aerial_won": 1,
                "rating": 6.666,
                "minutes": 90,
                "total_pass": 62,
                "accurate_pass": 58,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 81,
                "possession_lost": 6.0,
                "dispossessed": 1.0,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "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": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1
              },
              "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-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 1.0,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 58.0,
                  "touches_p90": 81.0,
                  "possessionLostCtrl": 6.0,
                  "totalClearance": 9.0,
                  "aerialWon": 1.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0991535186767578,
                    "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.0571
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0539
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0519
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0453
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0253
                        }
                      ],
                      "others": -0.0451,
                      "total": 1.0992
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3325060606002808,
                    "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.0926
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0608
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0478
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0472
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0366
                        }
                      ],
                      "others": -0.0174,
                      "total": 1.3325
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7691228985786438,
                    "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": "defensive_actions",
                          "contribution": 0.0694
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0641
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.045
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0381
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0355
                        }
                      ],
                      "others": -0.0561,
                      "total": 0.7691
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.974861145019531,
                    "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.4107
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3319
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2691
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.2036
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.2117
                        }
                      ],
                      "others": 0.1447,
                      "total": 4.9749
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.3936847448349,
                    "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": "totalClearance",
                          "contribution": 0.1091
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0774
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0687
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0651
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0529
                        }
                      ],
                      "others": 0.039,
                      "total": 1.3937
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.666048049926758,
                    "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": "wonTackle",
                          "contribution": -0.037
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.033
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0267
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0253
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0236
                        }
                      ],
                      "others": 0.0483,
                      "total": 6.666
                    }
                  }
                ],
                "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.0109, quality 0.536)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1
              },
              "params": {
                "market_value_eur": 11200000,
                "quality_factor": 0.5365,
                "boost_factor": 1.0109
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0361)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0
              },
              "params": {
                "blend_weight": 0.0361,
                "history_matches": 1,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.7775,
                  "after": 0.8578
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.1112,
                  "after": 1.1433
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Christantus Uche",
                "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
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 0.7459, xG scale 1.4184)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Christantus Uche",
                "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.058,
                "squad_xg_sum": 0.7459,
                "xg_scale": 1.4184
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 6, fifa_overall 76.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Christantus Uche",
                "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",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Christantus Uche",
                "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.0164,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0164
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Christantus Uche",
                "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.0164,
                "projected_assists": 0,
                "assist_probability": 0.028,
                "fifa_overall": 76.0
              },
              "params": {
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.028
              }
            }
          ]
        },
        "Fran García": {
          "player_id": 851271,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 11,
          "height": 170,
          "market_value": 9200000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "rating": 6.7203,
            "minutes": 76,
            "total_pass": 37,
            "accurate_pass": 33,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 18,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 17,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 54,
            "possession_lost": 10.541,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 6,
            "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.0803,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 18,
            "total_progression": 74,
            "progressive_carries": 1,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.4167,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 78.5,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "opponent_faced": "Christantus Uche",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0145,
            "projected_assists": 0,
            "assist_probability": 0.0174,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416333.0,
              "match_date": "2026-09-14 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": "Villarreal",
              "away_team": "Real Betis",
              "home_score_current": 1.0,
              "away_score_current": 2.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assists": 0,
                "expected_assists": 0.0178,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 31,
                "tackles": 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": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assists": 0,
                "expected_assists": 0.2033,
                "total_shots": 0,
                "total_pass": 57,
                "accurate_pass": 50,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 31,
                "rating": 7.1,
                "assists": 1,
                "expected_assists": 0.0314,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 3,
                "tackles_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": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_assists": 0.058,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 38,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 11
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3196,
            "combined_rank_score": 1155.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 745.0,
            "sofascore_rating": 6.6667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1565.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "projected_match_rating": 6.7203,
            "source_file": "data/player_rankings.csv",
            "player_name": "Fran García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Samson Baidoo",
                  "ranking": 3191
                },
                {
                  "player_name": "Guéla Doué",
                  "ranking": 3192
                },
                {
                  "player_name": "Amar Dedić",
                  "ranking": 3193
                },
                {
                  "player_name": "Taylor Harwood-Bellis",
                  "ranking": 3194
                },
                {
                  "player_name": "Saïd El Mala",
                  "ranking": 3195
                }
              ],
              "lower": [
                {
                  "player_name": "Rômulo",
                  "ranking": 3197
                },
                {
                  "player_name": "David Zima",
                  "ranking": 3198
                },
                {
                  "player_name": "Juan Iglesias",
                  "ranking": 3199
                },
                {
                  "player_name": "Thierno Barry",
                  "ranking": 3200
                },
                {
                  "player_name": "Tiago Palacios",
                  "ranking": 3201
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.524,
          "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.524,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0039,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 212.0,
              "goals_per90": 0.0,
              "assists_per90": 0.4166666666666667,
              "shots_per90": 0.0,
              "prior_reliability": 0.16
            },
            "rationale": "XGBoost regressor (D_service) evaluated 4 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.16, gls/90: 0.0, ast/90: 0.4166666666666667)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.6941,
                "minutes": 75,
                "total_pass": 37,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.5,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "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.08,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "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-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 32.8825,
                  "touches_p90": 63.9499,
                  "possessionLostCtrl": 10.2622,
                  "totalClearance": 0.8473,
                  "aerialWon": 0.4595
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8291765451431274,
                    "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.0252
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0242
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0234
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0155
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0143
                        }
                      ],
                      "others": -0.0294,
                      "total": 0.8292
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3076037168502808,
                    "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.0552
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0524
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0312
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0268
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0195
                        }
                      ],
                      "others": 0.0838,
                      "total": 1.3076
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.9866820573806763,
                    "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": "defensive_actions",
                          "contribution": -0.0556
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0422
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0389
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0325
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0335
                        }
                      ],
                      "others": 0.1121,
                      "total": 0.9867
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.3625831604003906,
                    "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": "aerialWon",
                          "contribution": -0.388
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.2519
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2491
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2276
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.1815
                        }
                      ],
                      "others": -0.6037,
                      "total": 2.3626
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9920127987861633,
                    "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.0899
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0564
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0504
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0423
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0278
                        }
                      ],
                      "others": -0.0679,
                      "total": 0.992
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.694127559661865,
                    "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.0358
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0259
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0257
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0244
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0197
                        }
                      ],
                      "others": 0.0109,
                      "total": 6.6941
                    }
                  }
                ],
                "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.0039, quality 0.513)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "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.0803,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 9200000,
                "quality_factor": 0.513,
                "boost_factor": 1.0039
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0578)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "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.0803,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.4167,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 78.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -0.42
              },
              "params": {
                "blend_weight": 0.0578,
                "history_matches": 4,
                "prior_reliability": 0.16,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 3.2627,
                  "after": 3.339
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.8324,
                  "after": 0.8565
                },
                {
                  "stat": "wonTackle",
                  "before": 0.9905,
                  "after": 1.0055
                },
                {
                  "stat": "goalAssist",
                  "before": 0.251,
                  "after": 0.2606
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "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.0803,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.4167,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 78.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "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.0803,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.4167,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 78.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Christantus Uche",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 0.7459, xG scale 1.4184)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "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.0803,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.4167,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 78.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Christantus Uche",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.058,
                "squad_xg_sum": 0.7459,
                "xg_scale": 1.4184
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 8, fifa_overall 77.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "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.0803,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.4167,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 78.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Christantus Uche",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "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.0803,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.4167,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 78.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Christantus Uche",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0145,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0145
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "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.0803,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.4167,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 78.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Christantus Uche",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0145,
                "projected_assists": 0,
                "assist_probability": 0.0174,
                "fifa_overall": 77.0
              },
              "params": {
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0174
              }
            }
          ]
        },
        "Abdessamad Ezzalzouli": {
          "player_id": 1011375,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 10,
          "height": 177,
          "market_value": 43000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1152,
            "assists": 0,
            "expected_goals": 0.099,
            "rating": 7.4588,
            "minutes": 17,
            "total_pass": 14,
            "accurate_pass": 14,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 11,
            "crosses_total": 5,
            "crosses_accurate": 0,
            "touches": 24,
            "possession_lost": 6.5322,
            "dispossessed": 1.0887,
            "duels_lost": 1,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "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": 4,
            "total_progression": 35,
            "progressive_carries": 1,
            "total_shots": 2,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.4,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.539,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
            "numerical_situation": "1v1",
            "opponent_defenders": "Mario Martín",
            "opponent_faced": "Mario Martín",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0561,
            "projected_assists": 0,
            "assist_probability": 0.1426,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 16,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0064,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 13,
                "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": 207,
            "combined_rank_score": 125.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 158.0,
            "sofascore_rating": 7.2931,
            "sofascore_appearances": 29.0,
            "fifa_rank": 93.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "projected_match_rating": 7.4588,
            "source_file": "data/player_rankings.csv",
            "player_name": "Abdessamad Ezzalzouli",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Guillermo Maripán",
                  "ranking": 202
                },
                {
                  "player_name": "Emil Tîmbur",
                  "ranking": 203
                },
                {
                  "player_name": "Matvii Ponomarenko",
                  "ranking": 204
                },
                {
                  "player_name": "Kim In-sung",
                  "ranking": 205
                },
                {
                  "player_name": "Marco Carnesecchi",
                  "ranking": 206
                }
              ],
              "lower": [
                {
                  "player_name": "Dávid Hancko",
                  "ranking": 208
                },
                {
                  "player_name": "Dae-han Park",
                  "ranking": 209
                },
                {
                  "player_name": "Vladimir Jovović",
                  "ranking": 210
                },
                {
                  "player_name": "Kenan Yıldız",
                  "ranking": 211
                },
                {
                  "player_name": "Ruslanbek Jiyanov",
                  "ranking": 212
                }
              ]
            }
          },
          "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": 1.0887,
            "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.1058,
                "assists": 0,
                "expected_goals": 0.0641,
                "rating": 6.8511,
                "minutes": 16,
                "total_pass": 13,
                "accurate_pass": 13,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 10,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 6.0,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 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": 32,
                "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-08-29",
                    "opponent": "Levante UD",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 0.0,
                  "ballRecovery": 0.0,
                  "intensity_index": 1.69,
                  "expectedAssists": 0.0064,
                  "kilometersCovered": 2.3
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.9241610169410706,
                    "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.0843
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0677
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0424
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0226
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0194
                        }
                      ],
                      "others": 0.0173,
                      "total": 0.9242
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10581552982330322,
                    "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.014
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0136
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0129
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0117
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0065
                        }
                      ],
                      "others": -0.007,
                      "total": 0.1058
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08076383173465729,
                    "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.0067
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0057
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.004
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0033
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0023
                        }
                      ],
                      "others": 0.0006,
                      "total": 0.0808
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06412696838378906,
                    "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": "numberOfSprints",
                          "contribution": -0.018
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0122
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.012
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0106
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0087
                        }
                      ],
                      "others": -0.0071,
                      "total": 0.0641
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.851072311401367,
                    "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": "ballCarriesCount",
                          "contribution": -0.0244
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0235
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0221
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0178
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0162
                        }
                      ],
                      "others": 0.0435,
                      "total": 6.8511
                    }
                  }
                ],
                "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.0887, quality 0.796)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1152,
                "assists": 0,
                "expected_goals": 0.0698,
                "rating": 7.4588,
                "minutes": 17,
                "total_pass": 14,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 11,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 6.5322,
                "dispossessed": 1.0887,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 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": 35,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 43000000,
                "quality_factor": 0.7957,
                "boost_factor": 1.0887
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1152,
                "assists": 0,
                "expected_goals": 0.0698,
                "rating": 7.4588,
                "minutes": 17,
                "total_pass": 14,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 11,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 6.5322,
                "dispossessed": 1.0887,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 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": 35,
                "progressive_carries": 1
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1152,
                "assists": 0,
                "expected_goals": 0.0698,
                "rating": 7.4588,
                "minutes": 17,
                "total_pass": 14,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 11,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 6.5322,
                "dispossessed": 1.0887,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "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": 4,
                "total_progression": 35,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.539,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mario Martín",
                "opponent_faced": "Mario Martín",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 0.7459, xG scale 1.4184)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1152,
                "assists": 0,
                "expected_goals": 0.099,
                "rating": 7.4588,
                "minutes": 17,
                "total_pass": 14,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 11,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 6.5322,
                "dispossessed": 1.0887,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "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": 4,
                "total_progression": 35,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.539,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mario Martín",
                "opponent_faced": "Mario Martí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.058,
                "squad_xg_sum": 0.7459,
                "xg_scale": 1.4184
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0698,
                  "after": 0.099
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 1, fifa_overall 86.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1152,
                "assists": 0,
                "expected_goals": 0.099,
                "rating": 7.4588,
                "minutes": 17,
                "total_pass": 14,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 11,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 6.5322,
                "dispossessed": 1.0887,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "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": 4,
                "total_progression": 35,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.539,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mario Martín",
                "opponent_faced": "Mario Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 86.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "fifa_overall": 86.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1152,
                "assists": 0,
                "expected_goals": 0.099,
                "rating": 7.4588,
                "minutes": 17,
                "total_pass": 14,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 11,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 6.5322,
                "dispossessed": 1.0887,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "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": 4,
                "total_progression": 35,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.539,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mario Martín",
                "opponent_faced": "Mario Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0561,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 86.0
              },
              "params": {
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0561
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1152,
                "assists": 0,
                "expected_goals": 0.099,
                "rating": 7.4588,
                "minutes": 17,
                "total_pass": 14,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 11,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 6.5322,
                "dispossessed": 1.0887,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "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": 4,
                "total_progression": 35,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.539,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mario Martín",
                "opponent_faced": "Mario Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0561,
                "projected_assists": 0,
                "assist_probability": 0.1426,
                "fifa_overall": 86.0
              },
              "params": {
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1426
              }
            }
          ]
        },
        "Antony": {
          "player_id": 958380,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 7,
          "height": 172,
          "market_value": 37000000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.1495,
            "assists": 1,
            "expected_goals": 0.2024,
            "rating": 7.5047,
            "minutes": 94,
            "total_pass": 48,
            "accurate_pass": 42,
            "duels_won": 6,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 12,
            "accurate_own_half_passes": 12,
            "total_opp_half_passes": 35,
            "accurate_opp_half_passes": 30,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 69,
            "possession_lost": 12.9509,
            "dispossessed": 0.0,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 4,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 2,
            "shots_off_target": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.3993,
            "ball_carries": 26,
            "total_progression": 155,
            "progressive_carries": 6,
            "total_shots": 3,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.0,
            "minutesPct": 100.0,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.3,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.505,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
            "numerical_situation": "1v1",
            "opponent_defenders": "Mario Martín",
            "opponent_faced": "Mario Martín",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.174,
            "projected_assists": 1,
            "assist_probability": 0.2276,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416333.0,
              "match_date": "2026-09-14 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": "Villarreal",
              "away_team": "Real Betis",
              "home_score_current": 1.0,
              "away_score_current": 2.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 77,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.0656,
                "expected_assists": 0.1047,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 32,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.3736,
                "expected_assists": 0.1311,
                "total_shots": 6,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 48,
                "accurate_pass": 41,
                "key_pass": 1,
                "tackles": 2,
                "aerial_won": 1,
                "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"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_goals": 0.0805,
                "expected_assists": 0.1214,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 51,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assists": 0,
                "expected_goals": 0.3575,
                "expected_assists": 0.4688,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 42,
                "accurate_pass": 40,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 764,
            "combined_rank_score": 368.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 3.0,
            "fifa_rank": 579.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "projected_match_rating": 7.5047,
            "source_file": "data/player_rankings.csv",
            "player_name": "Antony",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jay O'Shea",
                  "ranking": 759
                },
                {
                  "player_name": "Chan-hee Han",
                  "ranking": 760
                },
                {
                  "player_name": "Abdullokh Yuldashev",
                  "ranking": 761
                },
                {
                  "player_name": "Min-woo Kim",
                  "ranking": 762
                },
                {
                  "player_name": "Joey Veerman",
                  "ranking": 763
                }
              ],
              "lower": [
                {
                  "player_name": "Marko Bugarin",
                  "ranking": 765
                },
                {
                  "player_name": "Maximiliano Araújo",
                  "ranking": 766
                },
                {
                  "player_name": "Han Tae-Hee",
                  "ranking": 767
                },
                {
                  "player_name": "Stanislav Lobotka",
                  "ranking": 768
                },
                {
                  "player_name": "Pierre-Emile Højbjerg",
                  "ranking": 769
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.53,
          "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.53,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0792,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "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": 5.0,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 5 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.20, 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": 2,
                "expected_assists": 0.1385,
                "assists": 0,
                "expected_goals": 0.1322,
                "rating": 6.9537,
                "minutes": 87,
                "total_pass": 44,
                "accurate_pass": 39,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 33,
                "accurate_opp_half_passes": 28,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 64,
                "possession_lost": 12.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.37,
                "ball_carries": 24,
                "total_progression": 144,
                "progressive_carries": 6
              },
              "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-04",
                    "opponent": "Real Madrid",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 8.3
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 3.9526,
                  "ballRecovery": 3.6347,
                  "intensity_index": 7.7404,
                  "expectedAssists": 0.1857,
                  "kilometersCovered": 6.6139
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.68365478515625,
                    "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.1175
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0769
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0684
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0658
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0588
                        }
                      ],
                      "others": 0.3272,
                      "total": 1.6837
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.13852356374263763,
                    "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.0062
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0063
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0066
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0066
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0066
                        }
                      ],
                      "others": 0.0133,
                      "total": 0.1385
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.12533411383628845,
                    "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.0173
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0183
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0064
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0058
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0044
                        }
                      ],
                      "others": -0.0009,
                      "total": 0.1253
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.13221168518066406,
                    "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.0165
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0138
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0065
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0062
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0056
                        }
                      ],
                      "others": 0.0149,
                      "total": 0.1322
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.953722953796387,
                    "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": "totalProgression",
                          "contribution": -0.0286
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0243
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0237
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0227
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.022
                        }
                      ],
                      "others": 0.0578,
                      "total": 6.9537
                    }
                  }
                ],
                "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.0792, quality 0.764)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 0,
                "expected_goals": 0.1427,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6
              },
              "params": {
                "market_value_eur": 37000000,
                "quality_factor": 0.7641,
                "boost_factor": 1.0792
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0722)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 0,
                "expected_goals": 0.1427,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6,
                "total_shots": 5,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -0.33
              },
              "params": {
                "blend_weight": 0.0722,
                "history_matches": 4,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.1444
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "totalCross",
                  "before": 2.6981,
                  "after": 2.7199
                },
                {
                  "stat": "goalAssist",
                  "before": 0.1353,
                  "after": 0.1255
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 0,
                "expected_goals": 0.1427,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6,
                "total_shots": 5,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 0,
                "expected_goals": 0.1427,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6,
                "total_shots": 3,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.505,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mario Martín",
                "opponent_faced": "Mario Martín",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 5.0,
                  "after": 2.9716
                },
                {
                  "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.06 (squad xG sum 0.7459, xG scale 1.4184)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 0,
                "expected_goals": 0.2024,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6,
                "total_shots": 3,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.505,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mario Martín",
                "opponent_faced": "Mario Martí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.058,
                "squad_xg_sum": 0.7459,
                "xg_scale": 1.4184
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1427,
                  "after": 0.2024
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 2, fifa_overall 81.0)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 0,
                "expected_goals": 0.2024,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6,
                "total_shots": 3,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.505,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mario Martín",
                "opponent_faced": "Mario Martín",
                "antagonist_source": "attacking_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",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 0,
                "expected_goals": 0.2024,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6,
                "total_shots": 3,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.505,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mario Martín",
                "opponent_faced": "Mario Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.174,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 81.0
              },
              "params": {
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.174
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 1,
                "expected_goals": 0.2024,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6,
                "total_shots": 3,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.505,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mario Martín",
                "opponent_faced": "Mario Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.174,
                "projected_assists": 1,
                "assist_probability": 0.2276,
                "fifa_overall": 81.0
              },
              "params": {
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.2276
              }
            }
          ]
        },
        "Nelson Deossa": {
          "player_id": 1129401,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 185,
          "market_value": 9800000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0457,
            "assists": 0,
            "expected_goals": 0.0711,
            "rating": 6.9006,
            "minutes": 36,
            "total_pass": 23,
            "accurate_pass": 20,
            "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": 16,
            "accurate_opp_half_passes": 14,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 32,
            "possession_lost": 5.2817,
            "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": 9,
            "total_progression": 18,
            "progressive_carries": 1,
            "total_shots": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 16.7,
            "shotConversion": 0.0,
            "minutesPct": 46.3,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.9,
            "crosses_attempted": 2.4,
            "duel_win_rate": 0.489,
            "pressing_faced": "LOW",
            "matchup_zone": "LWB vs RWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Francho Serrano",
            "opponent_faced": "Francho Serrano",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0375,
            "projected_assists": 0,
            "assist_probability": 0.1025,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 22,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.0523,
                "expected_assists": 0.0047,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 10,
                "accurate_pass": 7,
                "clearances": 1,
                "aerial_won": 2,
                "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": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0277,
                "expected_assists": 0.0104,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "tackles": 2,
                "tackles_won": 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": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.0965,
                "expected_assists": 0.026,
                "total_shots": 4,
                "shots_off_target": 3,
                "total_pass": 59,
                "accurate_pass": 54,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "duels_won": 5,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 10,
                "rating": 7.0,
                "assists": 0,
                "expected_goals": 0.0332,
                "expected_assists": 0.0626,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 4,
                "accurate_pass": 4,
                "key_pass": 1,
                "clearances": 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": 3441,
            "combined_rank_score": 1430.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2416.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "projected_match_rating": 6.9006,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nelson Deossa",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lorenzo Melgarejo",
                  "ranking": 3436
                },
                {
                  "player_name": "Tomáš Chorý",
                  "ranking": 3437
                },
                {
                  "player_name": "Ferran Jutglà",
                  "ranking": 3438
                },
                {
                  "player_name": "César Tárrega",
                  "ranking": 3439
                },
                {
                  "player_name": "Lucas Stassin",
                  "ranking": 3440
                }
              ],
              "lower": [
                {
                  "player_name": "Filip Jörgensen",
                  "ranking": 3442
                },
                {
                  "player_name": "Luis Muriel",
                  "ranking": 3443
                },
                {
                  "player_name": "Ethan Nwaneri",
                  "ranking": 3444
                },
                {
                  "player_name": "Lucas Martínez Quarta",
                  "ranking": 3445
                },
                {
                  "player_name": "Ben Davies",
                  "ranking": 3446
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.514,
          "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.514,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.006,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 125.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 4.32,
              "shots_on_target_pct": 16.7,
              "prior_reliability": 0.0933
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 5 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, 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.0454,
                "assists": 0,
                "expected_goals": 0.0498,
                "rating": 6.8593,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "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": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.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": 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": 9,
                "total_progression": 17,
                "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-04",
                    "opponent": "Real Madrid",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 7.6103,
                  "ballRecovery": 2.7798,
                  "intensity_index": 2.4684,
                  "expectedAssists": 0.0222,
                  "kilometersCovered": 3.6067
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.78661048412323,
                    "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.0768
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0633
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0612
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0439
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0253
                        }
                      ],
                      "others": -0.1264,
                      "total": 0.7866
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04540756717324257,
                    "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.022
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0065
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0047
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0036
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.0454
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08289753645658493,
                    "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": "cross_creative_contribution",
                          "contribution": -0.0068
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0058
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0046
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0035
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.003
                        }
                      ],
                      "others": -0.002,
                      "total": 0.0829
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.049774426966905594,
                    "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": "numberOfSprints",
                          "contribution": -0.0186
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0129
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0099
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0078
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0077
                        }
                      ],
                      "others": -0.0176,
                      "total": 0.0498
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.859265327453613,
                    "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": "expectedAssists",
                          "contribution": -0.0252
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0209
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0196
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0192
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0158
                        }
                      ],
                      "others": 0.019,
                      "total": 6.8593
                    }
                  }
                ],
                "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.0060, quality 0.520)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0457,
                "assists": 0,
                "expected_goals": 0.0501,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "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": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "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": 9,
                "total_progression": 18,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 9800000,
                "quality_factor": 0.5201,
                "boost_factor": 1.006
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0337)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0457,
                "assists": 0,
                "expected_goals": 0.0501,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "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": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "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": 9,
                "total_progression": 18,
                "progressive_carries": 1,
                "total_shots": 4,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 46.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -0.72
              },
              "params": {
                "blend_weight": 0.0337,
                "history_matches": 4,
                "prior_reliability": 0.0933,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.0,
                  "after": 0.0243
                },
                {
                  "stat": "interceptionWon",
                  "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.0457,
                "assists": 0,
                "expected_goals": 0.0501,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "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": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "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": 9,
                "total_progression": 18,
                "progressive_carries": 1,
                "total_shots": 4,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 46.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0457,
                "assists": 0,
                "expected_goals": 0.0501,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "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": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "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": 9,
                "total_progression": 18,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 46.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.4,
                "duel_win_rate": 0.489,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Francho Serrano",
                "opponent_faced": "Francho Serrano",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 4.32,
                  "after": 1.1
                },
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.2
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 0.7459, xG scale 1.4184)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0457,
                "assists": 0,
                "expected_goals": 0.0711,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "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": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "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": 9,
                "total_progression": 18,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 46.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.4,
                "duel_win_rate": 0.489,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Francho Serrano",
                "opponent_faced": "Francho Serrano",
                "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.058,
                "squad_xg_sum": 0.7459,
                "xg_scale": 1.4184
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0501,
                  "after": 0.0711
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 7, fifa_overall 75.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0457,
                "assists": 0,
                "expected_goals": 0.0711,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "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": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "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": 9,
                "total_progression": 18,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 46.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.4,
                "duel_win_rate": 0.489,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Francho Serrano",
                "opponent_faced": "Francho Serrano",
                "antagonist_source": "attacking_duel, defensive_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",
                "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.0457,
                "assists": 0,
                "expected_goals": 0.0711,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "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": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "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": 9,
                "total_progression": 18,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 46.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.4,
                "duel_win_rate": 0.489,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Francho Serrano",
                "opponent_faced": "Francho Serrano",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0375,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0375
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0457,
                "assists": 0,
                "expected_goals": 0.0711,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "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": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "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": 9,
                "total_progression": 18,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 46.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.4,
                "duel_win_rate": 0.489,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Francho Serrano",
                "opponent_faced": "Francho Serrano",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0375,
                "projected_assists": 0,
                "assist_probability": 0.1025,
                "fifa_overall": 75.0
              },
              "params": {
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1025
              }
            }
          ]
        },
        "Pablo Fornals": {
          "player_id": 816763,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 178,
          "market_value": 8400000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.122,
            "assists": 0,
            "expected_goals": 0.1078,
            "rating": 6.9848,
            "minutes": 73,
            "total_pass": 56,
            "accurate_pass": 47,
            "duels_won": 4,
            "total_long_balls": 6,
            "accurate_long_balls": 0,
            "total_own_half_passes": 18,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 38,
            "accurate_opp_half_passes": 32,
            "crosses_total": 4,
            "crosses_accurate": 0,
            "touches": 72,
            "possession_lost": 15.2659,
            "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": 25,
            "total_progression": 65,
            "progressive_carries": 1,
            "total_shots": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 74.8,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 2.3,
            "duel_win_rate": 0.445,
            "pressing_faced": "LOW",
            "matchup_zone": "RWB vs LWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Ramón Terrats",
            "opponent_faced": "Ramón Terrats",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0474,
            "projected_assists": 0,
            "assist_probability": 0.1434,
            "fifa_overall": 85.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416333.0,
              "match_date": "2026-09-14 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": "Villarreal",
              "away_team": "Real Betis",
              "home_score_current": 1.0,
              "away_score_current": 2.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assists": 0,
                "expected_assists": 0.0843,
                "total_shots": 0,
                "total_pass": 55,
                "accurate_pass": 48,
                "key_pass": 3,
                "tackles": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 33,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.0269,
                "expected_assists": 0.0194,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 35,
                "accurate_pass": 28,
                "tackles": 1,
                "tackles_won": 1,
                "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": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 79,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.118,
                "expected_assists": 0.0698,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 76,
                "accurate_pass": 65,
                "key_pass": 3,
                "ball_recovery": 11
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_goals": 0.1081,
                "expected_assists": 0.2178,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 56,
                "accurate_pass": 48,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 4,
                "duels_won": 1,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 379,
            "combined_rank_score": 196.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 243.0,
            "sofascore_rating": 7.1243,
            "sofascore_appearances": 37.0,
            "fifa_rank": 149.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "projected_match_rating": 6.9848,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo Fornals",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Dilshod Komilov",
                  "ranking": 374
                },
                {
                  "player_name": "Agustín Rossi",
                  "ranking": 375
                },
                {
                  "player_name": "Bo-sang Yun",
                  "ranking": 376
                },
                {
                  "player_name": "David Alaba",
                  "ranking": 377
                },
                {
                  "player_name": "Felix Nmecha",
                  "ranking": 378
                }
              ],
              "lower": [
                {
                  "player_name": "Bashar Resan",
                  "ranking": 380
                },
                {
                  "player_name": "Casemiro",
                  "ranking": 381
                },
                {
                  "player_name": "Waldemar Anton",
                  "ranking": 382
                },
                {
                  "player_name": "Alfie McCalmont",
                  "ranking": 383
                },
                {
                  "player_name": "Jurriën Timber",
                  "ranking": 384
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.522,
          "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.522,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.001,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 202.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.67,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1467
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 5 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.15, 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.1218,
                "assists": 0,
                "expected_goals": 0.0759,
                "rating": 6.9775,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.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": 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": 24,
                "total_progression": 65,
                "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-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "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": 8.1133,
                  "ballRecovery": 5.9231,
                  "intensity_index": 4.1303,
                  "expectedAssists": 0.0894,
                  "kilometersCovered": 5.8211
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.227601408958435,
                    "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.0511
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0421
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0366
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0352
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0359
                        }
                      ],
                      "others": 0.0576,
                      "total": 1.2276
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.12182708084583282,
                    "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.0103
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0111
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0077
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0057
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0052
                        }
                      ],
                      "others": 0.0107,
                      "total": 0.1218
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09965251386165619,
                    "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.005
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0042
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0044
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0044
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.001,
                      "total": 0.0997
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0759221687912941,
                    "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": "intensity_index",
                          "contribution": -0.0186
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0089
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0083
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.009
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0086
                        }
                      ],
                      "others": -0.014,
                      "total": 0.0759
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.977508544921875,
                    "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.0282
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.022
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0213
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0179
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0169
                        }
                      ],
                      "others": 0.0394,
                      "total": 6.9775
                    }
                  }
                ],
                "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.0010, quality 0.503)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.076,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "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": 25,
                "total_progression": 65,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 8400000,
                "quality_factor": 0.5035,
                "boost_factor": 1.001
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0530)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.076,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "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": 25,
                "total_progression": 65,
                "progressive_carries": 1,
                "total_shots": 3,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -0.45
              },
              "params": {
                "blend_weight": 0.053,
                "history_matches": 4,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0963
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0482
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "totalCross",
                  "before": 4.2544,
                  "after": 4.2698
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0998,
                  "after": 0.0945
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.076,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "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": 25,
                "total_progression": 65,
                "progressive_carries": 1,
                "total_shots": 3,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.076,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "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": 25,
                "total_progression": 65,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.445,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Ramón Terrats",
                "opponent_faced": "Ramón Terrats",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.67,
                  "after": 1.0
                },
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 0.7459, xG scale 1.4184)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.1078,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "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": 25,
                "total_progression": 65,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.445,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Ramón Terrats",
                "opponent_faced": "Ramón Terrats",
                "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.058,
                "squad_xg_sum": 0.7459,
                "xg_scale": 1.4184
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.076,
                  "after": 0.1078
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 9, fifa_overall 85.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.1078,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "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": 25,
                "total_progression": 65,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.445,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Ramón Terrats",
                "opponent_faced": "Ramón Terrats",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "fifa_overall": 85.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.1078,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "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": 25,
                "total_progression": 65,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.445,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Ramón Terrats",
                "opponent_faced": "Ramón Terrats",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0474,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0474
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.1078,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "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": 25,
                "total_progression": 65,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.445,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Ramón Terrats",
                "opponent_faced": "Ramón Terrats",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0474,
                "projected_assists": 0,
                "assist_probability": 0.1434,
                "fifa_overall": 85.0
              },
              "params": {
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1434
              }
            }
          ]
        },
        "Giovani Lo Celso": {
          "player_id": 798835,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 20,
          "height": 177,
          "market_value": 7800000,
          "stats": {
            "key_pass": 2,
            "assists": 0,
            "expected_assists": 0.139,
            "expected_goals": 0.1262,
            "total_shots": 1,
            "total_pass": 52,
            "accurate_pass": 42,
            "ball_recovery": 5,
            "duels_won": 6,
            "rating": 6.9,
            "minutes": 90,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 15,
            "crosses_total": 1,
            "crosses_accurate": 1,
            "touches": 67,
            "possession_lost": 8.5,
            "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.06,
            "ball_carries": 30,
            "total_progression": 80,
            "progressive_carries": 7,
            "opponent_faced": "Mario Martín, Orel Mangala",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "antagonist_source": "defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0954,
            "projected_assists": 0,
            "assist_probability": 0.2161,
            "fifa_overall": 80.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 1287,
            "combined_rank_score": 558.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 363.0,
            "sofascore_rating": 6.975,
            "sofascore_appearances": 24.0,
            "fifa_rank": 753.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giovani Lo Celso",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Alex Meret",
                  "ranking": 1282
                },
                {
                  "player_name": "Enzo Le Fée",
                  "ranking": 1283
                },
                {
                  "player_name": "Osvaldo González",
                  "ranking": 1284
                },
                {
                  "player_name": "Jae-seong Park",
                  "ranking": 1285
                },
                {
                  "player_name": "Mario Hermoso",
                  "ranking": 1286
                }
              ],
              "lower": [
                {
                  "player_name": "Lucas Torreira",
                  "ranking": 1288
                },
                {
                  "player_name": "Diego Ulloa",
                  "ranking": 1289
                },
                {
                  "player_name": "David Neres",
                  "ranking": 1290
                },
                {
                  "player_name": "Juan Foyth",
                  "ranking": 1291
                },
                {
                  "player_name": "Patrick Berg",
                  "ranking": 1292
                }
              ]
            }
          },
          "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.4963,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€7,800,000) applied for position M (quality factor 0.50)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position M (quality 0.50)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.139,
                "expected_goals": 0.089,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.5,
                "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.06,
                "ball_carries": 30,
                "total_progression": 80,
                "progressive_carries": 7
              },
              "params": {
                "market_value_eur": 7800000,
                "quality_factor": 0.4963
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.139,
                "expected_goals": 0.089,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.5,
                "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.06,
                "ball_carries": 30,
                "total_progression": 80,
                "progressive_carries": 7
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.139,
                "expected_goals": 0.089,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.5,
                "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.06,
                "ball_carries": 30,
                "total_progression": 80,
                "progressive_carries": 7,
                "opponent_faced": "Mario Martín, Orel Mangala",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 0.7459, xG scale 1.4184)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.139,
                "expected_goals": 0.1262,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.5,
                "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.06,
                "ball_carries": 30,
                "total_progression": 80,
                "progressive_carries": 7,
                "opponent_faced": "Mario Martín, Orel Mangala",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.058,
                "squad_xg_sum": 0.7459,
                "xg_scale": 1.4184
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.089,
                  "after": 0.1262
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 11, fifa_overall 80.0)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.139,
                "expected_goals": 0.1262,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.5,
                "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.06,
                "ball_carries": 30,
                "total_progression": 80,
                "progressive_carries": 7,
                "opponent_faced": "Mario Martín, Orel Mangala",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "starter",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.139,
                "expected_goals": 0.1262,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.5,
                "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.06,
                "ball_carries": 30,
                "total_progression": 80,
                "progressive_carries": 7,
                "opponent_faced": "Mario Martín, Orel Mangala",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0954,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0954
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.139,
                "expected_goals": 0.1262,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.5,
                "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.06,
                "ball_carries": 30,
                "total_progression": 80,
                "progressive_carries": 7,
                "opponent_faced": "Mario Martín, Orel Mangala",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0954,
                "projected_assists": 0,
                "assist_probability": 0.2161,
                "fifa_overall": 80.0
              },
              "params": {
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.2161
              }
            }
          ]
        },
        "Troy Parrott": {
          "player_id": 966555,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 19,
          "height": 185,
          "market_value": 23000000,
          "stats": {
            "expected_goals": 0.1972,
            "goal_rate": 0.1774,
            "goals": 0,
            "shots_on_target": 1,
            "expected_assists": 0.0293,
            "key_pass": 1,
            "rating": 7.1361,
            "minutes": 34,
            "total_pass": 7,
            "accurate_pass": 6,
            "duels_won": 2,
            "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": 15,
            "possession_lost": 4.5372,
            "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,
            "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": 2,
            "total_progression": 17,
            "progressive_carries": 1,
            "total_shots": 2,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 28.1,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.282,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Andrés García, Zaid Romero",
            "opponent_faced": "Andrés García, Zaid Romero",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.252,
            "projected_assists": 0,
            "assist_probability": 0.0562,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 22,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.7686,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 3,
                "accurate_pass": 2,
                "tackles": 1,
                "clearances": 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": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 57,
                "rating": 5.9,
                "assists": 0,
                "expected_goals": 0.3679,
                "expected_assists": 0.0788,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 12,
                "accurate_pass": 10,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 19,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0997,
                "expected_assists": 0.0064,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1404,
            "combined_rank_score": 580.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 87.0,
            "sofascore_rating": 7.52,
            "sofascore_appearances": 5.0,
            "fifa_rank": 1074.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "projected_match_rating": 7.1361,
            "source_file": "data/player_rankings.csv",
            "player_name": "Troy Parrott",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jerome Abbey",
                  "ranking": 1399
                },
                {
                  "player_name": "Rayan",
                  "ranking": 1400
                },
                {
                  "player_name": "Amir Rrahmani",
                  "ranking": 1401
                },
                {
                  "player_name": "Josep Chavarría",
                  "ranking": 1402
                },
                {
                  "player_name": "Abde",
                  "ranking": 1403
                }
              ],
              "lower": [
                {
                  "player_name": "Anan Khalaili",
                  "ranking": 1405
                },
                {
                  "player_name": "Guillermo May",
                  "ranking": 1406
                },
                {
                  "player_name": "Pubill",
                  "ranking": 1407
                },
                {
                  "player_name": "Bozhidar Kraev",
                  "ranking": 1408
                },
                {
                  "player_name": "Aïssa Mandi",
                  "ranking": 1409
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.445,
          "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.445,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0479,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "minutes": 76.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 3.55,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.0533
            },
            "rationale": "XGBoost regressor (F_service) evaluated 3 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.05, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.167,
                "goal_rate": 0.173,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.028,
                "key_pass": 1,
                "rating": 6.8102,
                "minutes": 33,
                "total_pass": 7,
                "accurate_pass": 5,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 4.33,
                "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,
                "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": 2,
                "total_progression": 16,
                "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-04",
                    "opponent": "Real Madrid",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.3887,
                  "totalShots": 1.3304,
                  "minutesPlayed": 32.7221,
                  "touches": 14.2546,
                  "dribbleValueNormalized": 0.1111
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.16703853011131287,
                    "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.061
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0269
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.027
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0246
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0144
                        }
                      ],
                      "others": -0.0626,
                      "total": 0.167
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.17300742864608765,
                    "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.1291
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0807
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.065
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0354
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0201
                        }
                      ],
                      "others": -0.1004,
                      "total": 0.173
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5889948010444641,
                    "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": "passValueNormalized",
                          "contribution": 0.0889
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0528
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0296
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0253
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0198
                        }
                      ],
                      "others": -0.0559,
                      "total": 0.589
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02800510637462139,
                    "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.0103
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0051
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0037
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.003
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0054,
                      "total": 0.028
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6624076962471008,
                    "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.173
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0649
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0529
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0318
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0271
                        }
                      ],
                      "others": -0.0168,
                      "total": 0.6624
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.810199737548828,
                    "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": "passValueNormalized",
                          "contribution": 0.1413
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0512
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0472
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0367
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0323
                        }
                      ],
                      "others": 0.0283,
                      "total": 6.8102
                    }
                  }
                ],
                "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.0479, quality 0.660)",
              "stats": {
                "expected_goals": 0.175,
                "goal_rate": 0.1813,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "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": 15,
                "possession_lost": 4.5372,
                "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,
                "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": 2,
                "total_progression": 17,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 23000000,
                "quality_factor": 0.6595,
                "boost_factor": 1.0479
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0217)",
              "stats": {
                "expected_goals": 0.175,
                "goal_rate": 0.1774,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "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": 15,
                "possession_lost": 4.5372,
                "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,
                "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": 2,
                "total_progression": 17,
                "progressive_carries": 1,
                "total_shots": 4,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 28.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0217,
                "history_matches": 3,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0812
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "totalOffside",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6172,
                  "after": 0.6038
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.175,
                "goal_rate": 0.1774,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "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": 15,
                "possession_lost": 4.5372,
                "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,
                "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": 2,
                "total_progression": 17,
                "progressive_carries": 1,
                "total_shots": 4,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 28.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.139,
                "goal_rate": 0.1774,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "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": 15,
                "possession_lost": 4.5372,
                "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,
                "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": 2,
                "total_progression": 17,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 28.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.282,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Andrés García, Zaid Romero",
                "opponent_faced": "Andrés García, Zaid Romero",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 3.55,
                  "after": 2.4
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.175,
                  "after": 0.139
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 0.7459, xG scale 1.4184)",
              "stats": {
                "expected_goals": 0.1972,
                "goal_rate": 0.1774,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "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": 15,
                "possession_lost": 4.5372,
                "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,
                "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": 2,
                "total_progression": 17,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 28.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.282,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Andrés García, Zaid Romero",
                "opponent_faced": "Andrés García, Zaid Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.058,
                "squad_xg_sum": 0.7459,
                "xg_scale": 1.4184
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.139,
                  "after": 0.1972
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 4, fifa_overall 78.0)",
              "stats": {
                "expected_goals": 0.1972,
                "goal_rate": 0.1774,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "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": 15,
                "possession_lost": 4.5372,
                "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,
                "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": 2,
                "total_progression": 17,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 28.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.282,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Andrés García, Zaid Romero",
                "opponent_faced": "Andrés García, Zaid Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.1972,
                "goal_rate": 0.1774,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "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": 15,
                "possession_lost": 4.5372,
                "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,
                "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": 2,
                "total_progression": 17,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 28.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.282,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Andrés García, Zaid Romero",
                "opponent_faced": "Andrés García, Zaid Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.252,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.252
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.1972,
                "goal_rate": 0.1774,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "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": 15,
                "possession_lost": 4.5372,
                "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,
                "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": 2,
                "total_progression": 17,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 28.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.282,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Andrés García, Zaid Romero",
                "opponent_faced": "Andrés García, Zaid Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.252,
                "projected_assists": 0,
                "assist_probability": 0.0562,
                "fifa_overall": 78.0
              },
              "params": {
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0562
              }
            }
          ]
        },
        "Cucho Hernández": {
          "player_id": 887055,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 175,
          "market_value": 16500000,
          "stats": {
            "expected_goals": 0.1801,
            "goal_rate": 0.2373,
            "goals": 1,
            "shots_on_target": 1,
            "expected_assists": 0.0352,
            "key_pass": 1,
            "rating": 6.9032,
            "minutes": 65,
            "total_pass": 16,
            "accurate_pass": 12,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 8,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 26,
            "possession_lost": 8.4859,
            "dispossessed": 0.0,
            "duels_lost": 6,
            "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": 8,
            "total_progression": 9,
            "progressive_carries": 0,
            "total_shots": 2,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.4,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.213,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Andrés García, Zaid Romero",
            "opponent_faced": "Andrés García, Zaid Romero",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.2628,
            "projected_assists": 0,
            "assist_probability": 0.0575,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416333.0,
              "match_date": "2026-09-14 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": "Villarreal",
              "away_team": "Real Betis",
              "home_score_current": 1.0,
              "away_score_current": 2.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 68,
                "rating": 6.4,
                "assists": 0,
                "expected_goals": 0.0332,
                "expected_assists": 0.0401,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 8,
                "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": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 33,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0191,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 71,
                "rating": 6.3,
                "assists": 0,
                "expected_assists": 0.0441,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 11,
                "key_pass": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 80,
                "rating": 6.8,
                "assists": 1,
                "expected_goals": 0.1215,
                "expected_assists": 0.1305,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1878,
            "combined_rank_score": 727.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 493.0,
            "sofascore_rating": 6.8625,
            "sofascore_appearances": 32.0,
            "fifa_rank": 961.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "projected_match_rating": 6.9032,
            "source_file": "data/player_rankings.csv",
            "player_name": "Cucho Hernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Calebe Gonçalves",
                  "ranking": 1873
                },
                {
                  "player_name": "Jack Hinshelwood",
                  "ranking": 1874
                },
                {
                  "player_name": "David Retamal",
                  "ranking": 1875
                },
                {
                  "player_name": "Xaver Schlager",
                  "ranking": 1876
                },
                {
                  "player_name": "Fernando Muslera",
                  "ranking": 1877
                }
              ],
              "lower": [
                {
                  "player_name": "Evanilson",
                  "ranking": 1879
                },
                {
                  "player_name": "Vanja Milinković-Savić",
                  "ranking": 1880
                },
                {
                  "player_name": "Abdülkerim Bardakcı",
                  "ranking": 1881
                },
                {
                  "player_name": "Mauro Arambarri",
                  "ranking": 1882
                },
                {
                  "player_name": "Kim Hyeon-Jun",
                  "ranking": 1883
                }
              ]
            }
          },
          "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.0286,
            "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.1781,
                "goal_rate": 0.2307,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0342,
                "key_pass": 1,
                "rating": 6.7113,
                "minutes": 63,
                "total_pass": 15,
                "accurate_pass": 11,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 8.25,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "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": 8,
                "total_progression": 9,
                "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-04",
                    "opponent": "Real Madrid",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.1927,
                  "totalShots": 0.6993,
                  "minutesPlayed": 61.6569,
                  "touches": 24.0636,
                  "dribbleValueNormalized": 0.2083
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.17813555896282196,
                    "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.0347
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0333
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0172
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0157
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0128
                        }
                      ],
                      "others": -0.0761,
                      "total": 0.1781
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.23068401217460632,
                    "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.0526
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0333
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0257
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0224
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0179
                        }
                      ],
                      "others": -0.0077,
                      "total": 0.2307
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5495277047157288,
                    "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.0444
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0351
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0261
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0199
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0086
                        }
                      ],
                      "others": -0.0413,
                      "total": 0.5495
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03423933684825897,
                    "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.0059
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.005
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0042
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0037
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0027
                        }
                      ],
                      "others": -0.0076,
                      "total": 0.0342
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5474061965942383,
                    "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.1094
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0725
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0314
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0278
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0204
                        }
                      ],
                      "others": -0.0928,
                      "total": 0.5474
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.711346626281738,
                    "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.0406
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0341
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0287
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0275
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0265
                        }
                      ],
                      "others": 0.0319,
                      "total": 6.7113
                    }
                  }
                ],
                "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.0286, quality 0.595)",
              "stats": {
                "expected_goals": 0.1832,
                "goal_rate": 0.2373,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0352,
                "key_pass": 1,
                "rating": 6.9032,
                "minutes": 65,
                "total_pass": 16,
                "accurate_pass": 12,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4859,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "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": 8,
                "total_progression": 9,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 16500000,
                "quality_factor": 0.5953,
                "boost_factor": 1.0286
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1832,
                "goal_rate": 0.2373,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0352,
                "key_pass": 1,
                "rating": 6.9032,
                "minutes": 65,
                "total_pass": 16,
                "accurate_pass": 12,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4859,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "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": 8,
                "total_progression": 9,
                "progressive_carries": 0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.127,
                "goal_rate": 0.2373,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0352,
                "key_pass": 1,
                "rating": 6.9032,
                "minutes": 65,
                "total_pass": 16,
                "accurate_pass": 12,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4859,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "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": 8,
                "total_progression": 9,
                "progressive_carries": 0,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.213,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Andrés García, Zaid Romero",
                "opponent_faced": "Andrés García, Zaid Romero",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true
              },
              "changes": [
                {
                  "stat": "expectedGoals",
                  "before": 0.1832,
                  "after": 0.127
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 0.7459, xG scale 1.4184)",
              "stats": {
                "expected_goals": 0.1801,
                "goal_rate": 0.2373,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0352,
                "key_pass": 1,
                "rating": 6.9032,
                "minutes": 65,
                "total_pass": 16,
                "accurate_pass": 12,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4859,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "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": 8,
                "total_progression": 9,
                "progressive_carries": 0,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.213,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Andrés García, Zaid Romero",
                "opponent_faced": "Andrés García, Zaid Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.058,
                "squad_xg_sum": 0.7459,
                "xg_scale": 1.4184
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.127,
                  "after": 0.1801
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 5, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.1801,
                "goal_rate": 0.2373,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0352,
                "key_pass": 1,
                "rating": 6.9032,
                "minutes": 65,
                "total_pass": 16,
                "accurate_pass": 12,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4859,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "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": 8,
                "total_progression": 9,
                "progressive_carries": 0,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.213,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Andrés García, Zaid Romero",
                "opponent_faced": "Andrés García, Zaid Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.1801,
                "goal_rate": 0.2373,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.0352,
                "key_pass": 1,
                "rating": 6.9032,
                "minutes": 65,
                "total_pass": 16,
                "accurate_pass": 12,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4859,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "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": 8,
                "total_progression": 9,
                "progressive_carries": 0,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.213,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Andrés García, Zaid Romero",
                "opponent_faced": "Andrés García, Zaid Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.2628,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.2628
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.1801,
                "goal_rate": 0.2373,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.0352,
                "key_pass": 1,
                "rating": 6.9032,
                "minutes": 65,
                "total_pass": 16,
                "accurate_pass": 12,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4859,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "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": 8,
                "total_progression": 9,
                "progressive_carries": 0,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.213,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Andrés García, Zaid Romero",
                "opponent_faced": "Andrés García, Zaid Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.2628,
                "projected_assists": 0,
                "assist_probability": 0.0575,
                "fifa_overall": 79.0
              },
              "params": {
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0575
              }
            }
          ]
        }
      },
      "bench_players": {
        "Diego Conde": {
          "player_id": 951008,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 188,
          "market_value": 3200000,
          "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.0147,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1174,
            "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.4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.349,
            "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": 76.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3128,
            "combined_rank_score": 1089.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 1974.0,
            "fifa_overall": 76.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": "Diego Conde",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mykola Shaparenko",
                  "ranking": 3123
                },
                {
                  "player_name": "Kostas Tsimikas",
                  "ranking": 3124
                },
                {
                  "player_name": "Kepa",
                  "ranking": 3125
                },
                {
                  "player_name": "Nahuel Molina",
                  "ranking": 3126
                },
                {
                  "player_name": "Václav Jemelka",
                  "ranking": 3127
                }
              ],
              "lower": [
                {
                  "player_name": "Lawrence Shankland",
                  "ranking": 3129
                },
                {
                  "player_name": "Cameron Carter-Vickers",
                  "ranking": 3130
                },
                {
                  "player_name": "Patrick Wimmer",
                  "ranking": 3131
                },
                {
                  "player_name": "Thomas Lemar",
                  "ranking": 3132
                },
                {
                  "player_name": "Robert Navarro",
                  "ranking": 3133
                }
              ]
            }
          },
          "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.40206294284004,
            "bench_appearance_prob": 0.10918467922000183,
            "market_value_adjustment": 0.4399,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€3,200,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": 9,
                "accurate_long_balls": 4,
                "touches": 32,
                "clearances": 1,
                "ball_recovery": 1,
                "high_claims": 1,
                "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": 3200000,
                "quality_factor": 0.4399
              }
            },
            {
              "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.0147,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1174,
                "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.4
              },
              "params": {
                "expected_minutes": 4.4,
                "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.0147,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1174,
                "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.4
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 18, fifa_overall 76.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.0147,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1174,
                "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.4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.349,
                "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": 76.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Angel Ortiz": {
          "player_id": 1152139,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 12,
          "height": 167,
          "market_value": 4400000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "rating": 6.4308,
            "minutes": 14,
            "total_pass": 5,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 1.1961,
            "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.003,
            "expected_assists": 0.0015,
            "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,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 25.9,
            "pointsPerMatch": 3.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.218,
            "bench_expected_minutes": 13.64,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.349,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 71,
                "rating": 7.3,
                "assists": 0,
                "expected_goals": 0.0154,
                "expected_assists": 0.0115,
                "total_shots": 1,
                "total_pass": 36,
                "accurate_pass": 33,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 2,
                "clearances": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 4946,
            "combined_rank_score": 3037.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 5918.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "projected_match_rating": 6.4308,
            "source_file": "data/player_rankings.csv",
            "player_name": "Angel Ortiz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Efraín Álvarez",
                  "ranking": 4941
                },
                {
                  "player_name": "Milton Giménez",
                  "ranking": 4942
                },
                {
                  "player_name": "Kevin Castañeda",
                  "ranking": 4943
                },
                {
                  "player_name": "Carlos Moreno",
                  "ranking": 4944
                },
                {
                  "player_name": "Brian Gutiérrez",
                  "ranking": 4945
                }
              ],
              "lower": [
                {
                  "player_name": "Kevin Mier",
                  "ranking": 4947
                },
                {
                  "player_name": "Jeremy Sarmiento",
                  "ranking": 4948
                },
                {
                  "player_name": "Mohammed Kanno",
                  "ranking": 4949
                },
                {
                  "player_name": "Pedro Rebocho",
                  "ranking": 4950
                },
                {
                  "player_name": "Martín Cauteruccio",
                  "ranking": 4951
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.32,
          "history_matches": 1,
          "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": 1,
            "data_confidence": 0.32,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.64092577102457,
            "bench_appearance_prob": 0.218,
            "market_value_adjustment": 0.9864,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "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.0533
            },
            "rationale": "Bench projection scaled from XGBoost D_service (1 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.5193,
                "minutes": 71,
                "total_pass": 36,
                "accurate_pass": 33,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 15,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 61,
                "possession_lost": 8.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 3,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.02,
                "expected_assists": 0.01,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 26,
                "progressive_carries": 1,
                "key_pass": 1
              },
              "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-25",
                    "opponent": "Valencia",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 1.0,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "accuratePass": 33.0,
                  "touches_p90": 77.3239,
                  "possessionLostCtrl": 8.0,
                  "totalClearance": 2.0,
                  "aerialWon": 0.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.5575404167175293,
                    "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.2637
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0167
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0155
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0097
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0094
                        }
                      ],
                      "others": -0.0383,
                      "total": 0.5575
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.4084053039550781,
                    "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.1165
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0821
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0502
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0417
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0318
                        }
                      ],
                      "others": 0.0788,
                      "total": 1.4084
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8040722608566284,
                    "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.1666
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0611
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0459
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0437
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0405
                        }
                      ],
                      "others": 0.0804,
                      "total": 0.8041
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.00184965133667,
                    "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.8094
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1555
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1265
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0725
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0532
                        }
                      ],
                      "others": -0.1843,
                      "total": 1.0018
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7863270044326782,
                    "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.3172
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0343
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0265
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0249
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0187
                        }
                      ],
                      "others": -0.0716,
                      "total": 0.7863
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.519285202026367,
                    "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.0763
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0456
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0249
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0227
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0194
                        }
                      ],
                      "others": 0.0001,
                      "total": 6.5193
                    }
                  }
                ],
                "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": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 6.4308,
                "minutes": 70,
                "total_pass": 36,
                "accurate_pass": 33,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 15,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 7.8915,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 3,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0197,
                "expected_assists": 0.0099,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 25,
                "progressive_carries": 1,
                "key_pass": 1
              },
              "params": {
                "market_value_eur": 4400000,
                "quality_factor": 0.4548,
                "boost_factor": 0.9864
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0289)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 6.4308,
                "minutes": 70,
                "total_pass": 36,
                "accurate_pass": 33,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 15,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 7.8915,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 3,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0197,
                "expected_assists": 0.0099,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 25,
                "progressive_carries": 1,
                "key_pass": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 25.9,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0289,
                "history_matches": 1,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.7932,
                  "after": 0.8425
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.55,
                  "after": 0.5341
                },
                {
                  "stat": "totalShots",
                  "before": 0.9864,
                  "after": 0.9952
                },
                {
                  "stat": "fouls",
                  "before": 0.9864,
                  "after": 0.994
                }
              ]
            },
            {
              "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.4308,
                "minutes": 14,
                "total_pass": 5,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 1.1961,
                "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.003,
                "expected_assists": 0.0015,
                "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,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 25.9,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.218,
                "bench_expected_minutes": 13.64
              },
              "params": {
                "expected_minutes": 13.64,
                "appearance_probability": 0.218
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 6.4308,
                "minutes": 14,
                "total_pass": 5,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 1.1961,
                "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.003,
                "expected_assists": 0.0015,
                "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,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 25.9,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.218,
                "bench_expected_minutes": 13.64
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 16, fifa_overall 70.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 6.4308,
                "minutes": 14,
                "total_pass": 5,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 1.1961,
                "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.003,
                "expected_assists": 0.0015,
                "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,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 25.9,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.218,
                "bench_expected_minutes": 13.64,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 70.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "fifa_overall": 70.0
              }
            }
          ]
        },
        "Aitor Ruibal": {
          "player_id": 893062,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 176,
          "market_value": 3900000,
          "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.938,
            "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.007,
            "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": 9,
            "progressive_carries": 1,
            "bench_appearance_probability": 0.301,
            "bench_expected_minutes": 13.62,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.349,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3081,
            "combined_rank_score": 1048.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 539.0,
            "sofascore_rating": 6.8259,
            "sofascore_appearances": 27.0,
            "fifa_rank": 1558.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aitor Ruibal",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Leopold Querfeld",
                  "ranking": 3076
                },
                {
                  "player_name": "Daizen Maeda",
                  "ranking": 3077
                },
                {
                  "player_name": "Javi Galán",
                  "ranking": 3078
                },
                {
                  "player_name": "Matt O'Riley",
                  "ranking": 3079
                },
                {
                  "player_name": "Joshua King",
                  "ranking": 3080
                }
              ],
              "lower": [
                {
                  "player_name": "Artem Bondarenko",
                  "ranking": 3082
                },
                {
                  "player_name": "Igor Jesus",
                  "ranking": 3083
                },
                {
                  "player_name": "Luis Rioja",
                  "ranking": 3084
                },
                {
                  "player_name": "Roberto Alvarado",
                  "ranking": 3085
                },
                {
                  "player_name": "Callum Wilson",
                  "ranking": 3086
                }
              ]
            }
          },
          "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.61644058998921,
            "bench_appearance_prob": 0.30074729954496415,
            "market_value_adjustment": 0.4486,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€3,900,000) scaled to 13.6 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.45)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "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": 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.046,
                "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": 57,
                "progressive_carries": 4
              },
              "params": {
                "market_value_eur": 3900000,
                "quality_factor": 0.4486
              }
            },
            {
              "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.938,
                "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.007,
                "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": 9,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.301,
                "bench_expected_minutes": 13.62
              },
              "params": {
                "expected_minutes": 13.62,
                "appearance_probability": 0.301
              }
            },
            {
              "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.938,
                "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.007,
                "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": 9,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.301,
                "bench_expected_minutes": 13.62
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 17, fifa_overall 77.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.938,
                "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.007,
                "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": 9,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.301,
                "bench_expected_minutes": 13.62,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "Dani Ceballos": {
          "player_id": 547838,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 0,
          "height": 179,
          "market_value": 7400000,
          "stats": {
            "key_pass": 0,
            "assists": 0,
            "expected_assists": 0.034,
            "expected_goals": 0.0311,
            "total_shots": 0,
            "total_pass": 13,
            "accurate_pass": 10,
            "ball_recovery": 1,
            "duels_won": 2,
            "rating": 6.9,
            "minutes": 22,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 17,
            "possession_lost": 2.0707,
            "dispossessed": 0.8,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0173,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0145,
            "ball_carries": 7,
            "total_progression": 19,
            "progressive_carries": 2,
            "bench_appearance_probability": 0.508,
            "bench_expected_minutes": 22.19,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.349,
            "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": 81.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 963,
            "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": 16.0,
            "fifa_rank": 517.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Ceballos",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gerónimo Rulli",
                  "ranking": 958
                },
                {
                  "player_name": "Mohamed Simakan",
                  "ranking": 959
                },
                {
                  "player_name": "Nico González",
                  "ranking": 960
                },
                {
                  "player_name": "Gonçalo Guedes",
                  "ranking": 961
                },
                {
                  "player_name": "Samuel Klein",
                  "ranking": 962
                }
              ],
              "lower": [
                {
                  "player_name": "Han-been Yang",
                  "ranking": 964
                },
                {
                  "player_name": "Alexsey Kozlov",
                  "ranking": 965
                },
                {
                  "player_name": "Ji-hun Cho",
                  "ranking": 966
                },
                {
                  "player_name": "Park Gi-hyun",
                  "ranking": 967
                },
                {
                  "player_name": "Alexander Satariano",
                  "ranking": 968
                }
              ]
            }
          },
          "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"
            ],
            "bench_expected_minutes": 22.18617755459381,
            "bench_appearance_prob": 0.5084626161179004,
            "market_value_adjustment": 0.4915,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€7,400,000) scaled to 22.2 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position M (quality 0.49)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.138,
                "expected_goals": 0.089,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.4,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.059,
                "ball_carries": 30,
                "total_progression": 79,
                "progressive_carries": 7
              },
              "params": {
                "market_value_eur": 7400000,
                "quality_factor": 0.4915
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.2 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0219,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19
              },
              "params": {
                "expected_minutes": 22.19,
                "appearance_probability": 0.508
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0219,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 0.7459, xG scale 1.4184)",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0311,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.349,
                "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.058,
                "squad_xg_sum": 0.7459,
                "xg_scale": 1.4184
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0219,
                  "after": 0.0311
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 12, fifa_overall 81.0)",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0311,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.349,
                "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": 81.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "fifa_overall": 81.0
              }
            }
          ]
        },
        "Álvaro Fidalgo": {
          "player_id": 838629,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 15,
          "height": 174,
          "market_value": 6500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0103,
            "assists": 0,
            "expected_goals": 0.006,
            "rating": 6.6066,
            "minutes": 22,
            "total_pass": 3,
            "accurate_pass": 3,
            "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": 2,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 4,
            "possession_lost": 0.4892,
            "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": 3,
            "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": 2,
            "total_progression": 14,
            "progressive_carries": 0,
            "bench_appearance_probability": 0.506,
            "bench_expected_minutes": 22.14,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.349,
            "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": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 30,
                "rating": 6.8,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 13,
                "tackles": 2,
                "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": 1509,
            "combined_rank_score": 783.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 622.0,
            "sofascore_rating": 6.7667,
            "sofascore_appearances": 9.0,
            "fifa_rank": 945.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "projected_match_rating": 6.6066,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álvaro Fidalgo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jeison Fuentealba",
                  "ranking": 1504
                },
                {
                  "player_name": "Manuel Rivera",
                  "ranking": 1505
                },
                {
                  "player_name": "Dong-hyun Kang",
                  "ranking": 1506
                },
                {
                  "player_name": "Hwang Seok-ki",
                  "ranking": 1507
                },
                {
                  "player_name": "Ollabergan Karimov",
                  "ranking": 1508
                }
              ],
              "lower": [
                {
                  "player_name": "Max Dowman",
                  "ranking": 1510
                },
                {
                  "player_name": "Lucas Evangelista",
                  "ranking": 1511
                },
                {
                  "player_name": "Fábio",
                  "ranking": 1512
                },
                {
                  "player_name": "Mukhammadaziz Ibrakhimov",
                  "ranking": 1513
                },
                {
                  "player_name": "Igor Golban",
                  "ranking": 1514
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "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",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.14294752708981,
            "bench_appearance_prob": 0.5064976148677187,
            "market_value_adjustment": 0.9942,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection scaled from XGBoost M_service (1 historical appearances) to 22.1 expected mins (appearance prob 0.51); 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.042,
                "assists": 0,
                "expected_goals": 0.0246,
                "rating": 6.6453,
                "minutes": 30,
                "total_pass": 14,
                "accurate_pass": 13,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "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": 56,
                "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-04",
                    "opponent": "Real Madrid",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "ballRecovery_p90": 0.0,
                  "ballRecovery": 0.0,
                  "intensity_index": 0.0,
                  "expectedAssists": 0.0068,
                  "kilometersCovered": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6103215217590332,
                    "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.2562
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0557
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0437
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0192
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0171
                        }
                      ],
                      "others": -0.0011,
                      "total": 0.6103
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0420164056122303,
                    "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.0196
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0124
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0046
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0041
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0067,
                      "total": 0.042
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06798774003982544,
                    "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.0062
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.005
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0044
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.004
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0036
                        }
                      ],
                      "others": -0.0116,
                      "total": 0.068
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.024574801325798035,
                    "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.0328
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0183
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0096
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0069
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0052
                        }
                      ],
                      "others": -0.0113,
                      "total": 0.0246
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.645349979400635,
                    "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.2402
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.1234
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0542
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0521
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0439
                        }
                      ],
                      "others": -0.0278,
                      "total": 6.6454
                    }
                  }
                ],
                "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.9942, quality 0.481)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0418,
                "assists": 0,
                "expected_goals": 0.0244,
                "rating": 6.6066,
                "minutes": 30,
                "total_pass": 14,
                "accurate_pass": 13,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 1.9883,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "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": 55,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 6500000,
                "quality_factor": 0.4805,
                "boost_factor": 0.9942
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0000)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0418,
                "assists": 0,
                "expected_goals": 0.0244,
                "rating": 6.6066,
                "minutes": 30,
                "total_pass": 14,
                "accurate_pass": 13,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 1.9883,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "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": 55,
                "progressive_carries": 1
              },
              "params": {
                "blend_weight": 0.0,
                "history_matches": 1,
                "prior_reliability": 0.0,
                "competition": "La Liga",
                "squad": "Real Betis"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.1 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0103,
                "assists": 0,
                "expected_goals": 0.006,
                "rating": 6.6066,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "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": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.4892,
                "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": 3,
                "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": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.14
              },
              "params": {
                "expected_minutes": 22.14,
                "appearance_probability": 0.506
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0103,
                "assists": 0,
                "expected_goals": 0.006,
                "rating": 6.6066,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "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": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.4892,
                "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": 3,
                "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": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.14
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 14, fifa_overall 79.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0103,
                "assists": 0,
                "expected_goals": 0.006,
                "rating": 6.6066,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "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": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.4892,
                "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": 3,
                "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": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.14,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.349,
                "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": 79.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Pablo García": {
          "player_id": 1893910,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 33,
          "height": 175,
          "market_value": 8199999,
          "stats": {
            "expected_goals": 0.0431,
            "goal_rate": 0.0373,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0092,
            "key_pass": 0,
            "rating": 6.7989,
            "minutes": 21,
            "total_pass": 2,
            "accurate_pass": 1,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 4,
            "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": 1,
            "total_progression": 6,
            "progressive_carries": 0,
            "total_shots": 1,
            "yellowCards": 1.6667,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.33,
            "minutesPct": 20.0,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.724,
            "bench_expected_minutes": 21.39,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.349,
            "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_type": "played",
              "match_id": 16416328.0,
              "match_date": "2026-09-12 12: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": "R. Racing Club",
              "away_team": "Alavés",
              "home_score_current": 2.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "R. Racing Club",
              "opponent": "Alavés",
              "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": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 89,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.1417,
                "expected_assists": 0.0041,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 6.2,
                "assists": 0,
                "expected_goals": 0.0894,
                "expected_assists": 0.007,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.2814,
                "expected_assists": 0.0023,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "clearances": 3,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 17,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0317,
                "expected_assists": 0.0322,
                "total_shots": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5059,
            "combined_rank_score": 3247.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 3.0,
            "fifa_rank": 5917.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "projected_match_rating": 6.7989,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Philippe Sandler",
                  "ranking": 5054
                },
                {
                  "player_name": "Jordan Lotomba",
                  "ranking": 5055
                },
                {
                  "player_name": "Jhon Córdoba",
                  "ranking": 5056
                },
                {
                  "player_name": "Jari De Busser",
                  "ranking": 5057
                },
                {
                  "player_name": "Gijs Smal",
                  "ranking": 5058
                }
              ],
              "lower": [
                {
                  "player_name": "Jacob Trenskow",
                  "ranking": 5060
                },
                {
                  "player_name": "Virgil Ghiță",
                  "ranking": 5061
                },
                {
                  "player_name": "Daan Rots",
                  "ranking": 5062
                },
                {
                  "player_name": "Thomas Beelen",
                  "ranking": 5063
                },
                {
                  "player_name": "Alexandre Penetra",
                  "ranking": 5064
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.506,
          "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.506,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 21.39,
            "bench_appearance_prob": 0.724,
            "market_value_adjustment": 1.0003,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "sub_appearances": 3.0,
              "minutes_per_sub": 18.0,
              "goals_per90": 1.6666666666666667,
              "assists_per90": 0.0,
              "prior_reliability": 0.04
            },
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 21.4 expected mins (appearance prob 0.72); FBref playing time empirical prior: 3.0 sub appearances, 18.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.1279,
                "goal_rate": 0.1349,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0389,
                "key_pass": 1,
                "rating": 6.7967,
                "minutes": 35,
                "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": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "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": 27,
                "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": "Rayo Vallecano",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.8544,
                  "totalShots": 1.6276,
                  "minutesPlayed": 39.8345,
                  "touches": 16.6766,
                  "dribbleValueNormalized": 0.158
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12789754569530487,
                    "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.0527
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0361
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0249
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0173
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0147
                        }
                      ],
                      "others": -0.0519,
                      "total": 0.1279
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13487832248210907,
                    "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.0724
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0434
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0342
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0141
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0105
                        }
                      ],
                      "others": -0.036,
                      "total": 0.1349
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6494281888008118,
                    "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.0469
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0412
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0405
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0235
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0207
                        }
                      ],
                      "others": -0.0155,
                      "total": 0.6494
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03885127231478691,
                    "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.0087
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0058
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0041
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0026
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0054,
                      "total": 0.0389
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5371828079223633,
                    "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.1794
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.032
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.028
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0288
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0259
                        }
                      ],
                      "others": -0.017,
                      "total": 0.5372
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7967000007629395,
                    "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.0478
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0454
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0333
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0299
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0271
                        }
                      ],
                      "others": 0.1402,
                      "total": 6.7967
                    }
                  }
                ],
                "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.0003, quality 0.501)",
              "stats": {
                "expected_goals": 0.1279,
                "goal_rate": 0.1349,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0389,
                "key_pass": 1,
                "rating": 6.7989,
                "minutes": 35,
                "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": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "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": 27,
                "progressive_carries": 2
              },
              "params": {
                "market_value_eur": 8199999,
                "quality_factor": 0.5011,
                "boost_factor": 1.0003
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0144)",
              "stats": {
                "expected_goals": 0.1279,
                "goal_rate": 0.157,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0389,
                "key_pass": 1,
                "rating": 6.7989,
                "minutes": 35,
                "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": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "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": 27,
                "progressive_carries": 2,
                "total_shots": 5,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -1.67
              },
              "params": {
                "blend_weight": 0.0144,
                "history_matches": 4,
                "prior_reliability": 0.04,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "wasFouled",
                  "before": 1.7506,
                  "after": 1.8216
                },
                {
                  "stat": "goals",
                  "before": 0.1349,
                  "after": 0.157
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6496,
                  "after": 0.6643
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 21.4 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0304,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "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": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39
              },
              "params": {
                "expected_minutes": 21.39,
                "appearance_probability": 0.724
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0304,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "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": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 0.7459, xG scale 1.4184)",
              "stats": {
                "expected_goals": 0.0431,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "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": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.349,
                "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.058,
                "squad_xg_sum": 0.7459,
                "xg_scale": 1.4184
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0304,
                  "after": 0.0431
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 10, fifa_overall 70.0)",
              "stats": {
                "expected_goals": 0.0431,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "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": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.349,
                "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": 10,
                "squad_role": "substitute",
                "fifa_overall": 70.0
              }
            }
          ]
        },
        "Facundo Bernal": {
          "player_id": 1177404,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 6,
          "height": 187,
          "market_value": 5800000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0092,
            "assists": 0,
            "expected_goals": 0.0072,
            "rating": 6.7579,
            "minutes": 22,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 1.1571,
            "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": 3,
            "total_progression": 6,
            "progressive_carries": 0,
            "total_shots": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.0,
            "minutesPct": 81.5,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.31,
            "bench_expected_minutes": 22.11,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.349,
            "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_type": "played",
              "match_id": 16416333.0,
              "match_date": "2026-09-14 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": "Villarreal",
              "away_team": "Real Betis",
              "home_score_current": 1.0,
              "away_score_current": 2.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 68,
                "rating": 7.0,
                "assists": 0,
                "expected_assists": 0.0069,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 29,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 74,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.1051,
                "expected_assists": 0.0236,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 33,
                "key_pass": 1,
                "interceptions": 1,
                "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": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_assists": 0.0097,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 46,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "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"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 58,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.0327,
                "expected_assists": 0.0119,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 37,
                "accurate_pass": 32,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3724,
            "combined_rank_score": 1703.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 490.0,
            "sofascore_rating": 6.8667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2916.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "projected_match_rating": 6.7579,
            "source_file": "data/player_rankings.csv",
            "player_name": "Facundo Bernal",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Andreas Tetteh",
                  "ranking": 3719
                },
                {
                  "player_name": "Kiril Despodov",
                  "ranking": 3720
                },
                {
                  "player_name": "Lamare Bogarde",
                  "ranking": 3721
                },
                {
                  "player_name": "Darius Olaru",
                  "ranking": 3722
                },
                {
                  "player_name": "Jairo Concha",
                  "ranking": 3723
                }
              ],
              "lower": [
                {
                  "player_name": "Roberto Fernández",
                  "ranking": 3725
                },
                {
                  "player_name": "Veljko Birmančević",
                  "ranking": 3726
                },
                {
                  "player_name": "Jay DaSilva",
                  "ranking": 3727
                },
                {
                  "player_name": "Oskar Pietuszewski",
                  "ranking": 3728
                },
                {
                  "player_name": "Honest Ahanor",
                  "ranking": 3729
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.524,
          "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.524,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.109104686408813,
            "bench_appearance_prob": 0.31,
            "market_value_adjustment": 0.9916,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.16
            },
            "rationale": "Bench projection scaled from XGBoost M_service (4 historical appearances) to 22.1 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.0377,
                "assists": 0,
                "expected_goals": 0.0297,
                "rating": 6.8152,
                "minutes": 72,
                "total_pass": 40,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 4.75,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 2,
                "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": 11,
                "total_progression": 25,
                "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-04",
                    "opponent": "Real Madrid",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "ballRecovery_p90": 6.1323,
                  "ballRecovery": 4.92,
                  "intensity_index": 3.3211,
                  "expectedAssists": 0.013,
                  "kilometersCovered": 6.2411
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6191199421882629,
                    "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.1698
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.071
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0523
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0222
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0169
                        }
                      ],
                      "others": -0.0622,
                      "total": 0.6191
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03770378232002258,
                    "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.0203
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0116
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0045
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0034
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0033
                        }
                      ],
                      "others": -0.0187,
                      "total": 0.0377
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06988852471113205,
                    "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.0063
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0044
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0039
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0023
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0112,
                      "total": 0.0699
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.029719628393650055,
                    "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.0232
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0179
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0094
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0072
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0058
                        }
                      ],
                      "others": -0.0155,
                      "total": 0.0297
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.815164089202881,
                    "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.0581
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0218
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0179
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0156
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0143
                        }
                      ],
                      "others": 0.0077,
                      "total": 6.8152
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9916, quality 0.472)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0374,
                "assists": 0,
                "expected_goals": 0.0295,
                "rating": 6.7579,
                "minutes": 72,
                "total_pass": 39,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 4.7101,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 2,
                "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": 11,
                "total_progression": 25,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 5800000,
                "quality_factor": 0.472,
                "boost_factor": 0.9916
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0578)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0374,
                "assists": 0,
                "expected_goals": 0.0295,
                "rating": 6.7579,
                "minutes": 72,
                "total_pass": 39,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 4.7101,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 2,
                "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": 11,
                "total_progression": 25,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 81.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -0.41
              },
              "params": {
                "blend_weight": 0.0578,
                "history_matches": 4,
                "prior_reliability": 0.16,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.0,
                  "after": 0.0237
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.7353,
                  "after": 1.7554
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.1 expected minutes (appearance prob 0.31)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0092,
                "assists": 0,
                "expected_goals": 0.0072,
                "rating": 6.7579,
                "minutes": 22,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.1571,
                "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": 3,
                "total_progression": 6,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 81.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.31,
                "bench_expected_minutes": 22.11
              },
              "params": {
                "expected_minutes": 22.11,
                "appearance_probability": 0.31
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0092,
                "assists": 0,
                "expected_goals": 0.0072,
                "rating": 6.7579,
                "minutes": 22,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.1571,
                "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": 3,
                "total_progression": 6,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 81.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.31,
                "bench_expected_minutes": 22.11
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 15, fifa_overall 74.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0092,
                "assists": 0,
                "expected_goals": 0.0072,
                "rating": 6.7579,
                "minutes": 22,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.1571,
                "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": 3,
                "total_progression": 6,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 81.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.31,
                "bench_expected_minutes": 22.11,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.349,
                "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": 15,
                "squad_role": "substitute",
                "fifa_overall": 74.0
              }
            }
          ]
        }
      },
      "substitutes": {
        "Pablo García": {
          "player_id": 1893910,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 33,
          "height": 175,
          "market_value": 8199999,
          "stats": {
            "expected_goals": 0.0431,
            "goal_rate": 0.0373,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0092,
            "key_pass": 0,
            "rating": 6.7989,
            "minutes": 21,
            "total_pass": 2,
            "accurate_pass": 1,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 4,
            "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": 1,
            "total_progression": 6,
            "progressive_carries": 0,
            "total_shots": 1,
            "yellowCards": 1.6667,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.33,
            "minutesPct": 20.0,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.724,
            "bench_expected_minutes": 21.39,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.349,
            "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_type": "played",
              "match_id": 16416328.0,
              "match_date": "2026-09-12 12: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": "R. Racing Club",
              "away_team": "Alavés",
              "home_score_current": 2.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "R. Racing Club",
              "opponent": "Alavés",
              "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": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 89,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.1417,
                "expected_assists": 0.0041,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 6.2,
                "assists": 0,
                "expected_goals": 0.0894,
                "expected_assists": 0.007,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.2814,
                "expected_assists": 0.0023,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "clearances": 3,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 17,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0317,
                "expected_assists": 0.0322,
                "total_shots": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5059,
            "combined_rank_score": 3247.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 3.0,
            "fifa_rank": 5917.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "projected_match_rating": 6.7989,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Philippe Sandler",
                  "ranking": 5054
                },
                {
                  "player_name": "Jordan Lotomba",
                  "ranking": 5055
                },
                {
                  "player_name": "Jhon Córdoba",
                  "ranking": 5056
                },
                {
                  "player_name": "Jari De Busser",
                  "ranking": 5057
                },
                {
                  "player_name": "Gijs Smal",
                  "ranking": 5058
                }
              ],
              "lower": [
                {
                  "player_name": "Jacob Trenskow",
                  "ranking": 5060
                },
                {
                  "player_name": "Virgil Ghiță",
                  "ranking": 5061
                },
                {
                  "player_name": "Daan Rots",
                  "ranking": 5062
                },
                {
                  "player_name": "Thomas Beelen",
                  "ranking": 5063
                },
                {
                  "player_name": "Alexandre Penetra",
                  "ranking": 5064
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.506,
          "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.506,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 21.39,
            "bench_appearance_prob": 0.724,
            "market_value_adjustment": 1.0003,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "sub_appearances": 3.0,
              "minutes_per_sub": 18.0,
              "goals_per90": 1.6666666666666667,
              "assists_per90": 0.0,
              "prior_reliability": 0.04
            },
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 21.4 expected mins (appearance prob 0.72); FBref playing time empirical prior: 3.0 sub appearances, 18.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.1279,
                "goal_rate": 0.1349,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0389,
                "key_pass": 1,
                "rating": 6.7967,
                "minutes": 35,
                "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": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "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": 27,
                "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": "Rayo Vallecano",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.8544,
                  "totalShots": 1.6276,
                  "minutesPlayed": 39.8345,
                  "touches": 16.6766,
                  "dribbleValueNormalized": 0.158
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12789754569530487,
                    "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.0527
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0361
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0249
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0173
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0147
                        }
                      ],
                      "others": -0.0519,
                      "total": 0.1279
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13487832248210907,
                    "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.0724
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0434
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0342
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0141
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0105
                        }
                      ],
                      "others": -0.036,
                      "total": 0.1349
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6494281888008118,
                    "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.0469
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0412
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0405
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0235
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0207
                        }
                      ],
                      "others": -0.0155,
                      "total": 0.6494
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03885127231478691,
                    "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.0087
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0058
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0041
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0026
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0054,
                      "total": 0.0389
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5371828079223633,
                    "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.1794
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.032
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.028
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0288
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0259
                        }
                      ],
                      "others": -0.017,
                      "total": 0.5372
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7967000007629395,
                    "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.0478
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0454
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0333
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0299
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0271
                        }
                      ],
                      "others": 0.1402,
                      "total": 6.7967
                    }
                  }
                ],
                "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.0003, quality 0.501)",
              "stats": {
                "expected_goals": 0.1279,
                "goal_rate": 0.1349,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0389,
                "key_pass": 1,
                "rating": 6.7989,
                "minutes": 35,
                "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": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "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": 27,
                "progressive_carries": 2
              },
              "params": {
                "market_value_eur": 8199999,
                "quality_factor": 0.5011,
                "boost_factor": 1.0003
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0144)",
              "stats": {
                "expected_goals": 0.1279,
                "goal_rate": 0.157,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0389,
                "key_pass": 1,
                "rating": 6.7989,
                "minutes": 35,
                "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": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "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": 27,
                "progressive_carries": 2,
                "total_shots": 5,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -1.67
              },
              "params": {
                "blend_weight": 0.0144,
                "history_matches": 4,
                "prior_reliability": 0.04,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "wasFouled",
                  "before": 1.7506,
                  "after": 1.8216
                },
                {
                  "stat": "goals",
                  "before": 0.1349,
                  "after": 0.157
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6496,
                  "after": 0.6643
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 21.4 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0304,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "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": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39
              },
              "params": {
                "expected_minutes": 21.39,
                "appearance_probability": 0.724
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0304,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "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": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 0.7459, xG scale 1.4184)",
              "stats": {
                "expected_goals": 0.0431,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "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": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.349,
                "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.058,
                "squad_xg_sum": 0.7459,
                "xg_scale": 1.4184
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0304,
                  "after": 0.0431
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 10, fifa_overall 70.0)",
              "stats": {
                "expected_goals": 0.0431,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "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": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.349,
                "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": 10,
                "squad_role": "substitute",
                "fifa_overall": 70.0
              }
            }
          ]
        },
        "Dani Ceballos": {
          "player_id": 547838,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 0,
          "height": 179,
          "market_value": 7400000,
          "stats": {
            "key_pass": 0,
            "assists": 0,
            "expected_assists": 0.034,
            "expected_goals": 0.0311,
            "total_shots": 0,
            "total_pass": 13,
            "accurate_pass": 10,
            "ball_recovery": 1,
            "duels_won": 2,
            "rating": 6.9,
            "minutes": 22,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 17,
            "possession_lost": 2.0707,
            "dispossessed": 0.8,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0173,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0145,
            "ball_carries": 7,
            "total_progression": 19,
            "progressive_carries": 2,
            "bench_appearance_probability": 0.508,
            "bench_expected_minutes": 22.19,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.349,
            "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": 81.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 963,
            "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": 16.0,
            "fifa_rank": 517.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Ceballos",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gerónimo Rulli",
                  "ranking": 958
                },
                {
                  "player_name": "Mohamed Simakan",
                  "ranking": 959
                },
                {
                  "player_name": "Nico González",
                  "ranking": 960
                },
                {
                  "player_name": "Gonçalo Guedes",
                  "ranking": 961
                },
                {
                  "player_name": "Samuel Klein",
                  "ranking": 962
                }
              ],
              "lower": [
                {
                  "player_name": "Han-been Yang",
                  "ranking": 964
                },
                {
                  "player_name": "Alexsey Kozlov",
                  "ranking": 965
                },
                {
                  "player_name": "Ji-hun Cho",
                  "ranking": 966
                },
                {
                  "player_name": "Park Gi-hyun",
                  "ranking": 967
                },
                {
                  "player_name": "Alexander Satariano",
                  "ranking": 968
                }
              ]
            }
          },
          "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"
            ],
            "bench_expected_minutes": 22.18617755459381,
            "bench_appearance_prob": 0.5084626161179004,
            "market_value_adjustment": 0.4915,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€7,400,000) scaled to 22.2 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position M (quality 0.49)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.138,
                "expected_goals": 0.089,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.4,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.059,
                "ball_carries": 30,
                "total_progression": 79,
                "progressive_carries": 7
              },
              "params": {
                "market_value_eur": 7400000,
                "quality_factor": 0.4915
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.2 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0219,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19
              },
              "params": {
                "expected_minutes": 22.19,
                "appearance_probability": 0.508
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0219,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 0.7459, xG scale 1.4184)",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0311,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.349,
                "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.058,
                "squad_xg_sum": 0.7459,
                "xg_scale": 1.4184
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0219,
                  "after": 0.0311
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 12, fifa_overall 81.0)",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0311,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.349,
                "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": 81.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "fifa_overall": 81.0
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.06,
        "expected_assists": 0.78,
        "total_shots": 13,
        "shots_on_target": 5,
        "total_passes": 411,
        "interceptions": 4,
        "tackles": 6,
        "avg_rating": 7.07,
        "possession_estimated_pct": 52.2,
        "pressing_actions_per_90": 7.3
      }
    },
    "Getafe": {
      "formation": "3-4-2-1",
      "players": {
        "David Soria": {
          "player_id": 604258,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 13,
          "height": 192,
          "market_value": 2700000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.0,
            "rating": 6.9851,
            "minutes": 88,
            "total_pass": 36,
            "accurate_pass": 17,
            "duels_won": 0,
            "total_long_balls": 32,
            "accurate_long_balls": 13,
            "touches": 42,
            "clearances": 0,
            "ball_recovery": 9,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 2,
            "possession_lost": 18.6434,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 10,
            "accurate_own_half_passes": 8,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "total_shots": 0,
            "shots_on_target": 0,
            "goalsAgainst": 1.33,
            "shotsOnTargetAgainst": 4.0,
            "cleanSheets": 0.3333,
            "interceptions": 0,
            "tackles_won": 0,
            "crosses_total": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "penaltySave": 0.3333,
            "ownGoals": 0.0,
            "savePct": 66.7,
            "cleanSheetPct": 33.3,
            "minutesPct": 100.0,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "expected_saves": 1.35,
            "high_pressure_saves": 0.51,
            "shots_faced": 2.9,
            "opponent_faced": "Antony, Troy Parrott",
            "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": 80.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30: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": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Getafe",
              "opponent": "Deportivo",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assists": 0,
                "expected_assists": 0.0078,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 19,
                "clearances": 1,
                "ball_recovery": 8,
                "saves": 2,
                "goals_prevented": 0.2135
              },
              "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": "away",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_assists": 0.0099,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 17,
                "clearances": 2,
                "ball_recovery": 14,
                "saves": 1,
                "goals_prevented": 0.0075
              },
              "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": 16416300.0,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "assists": 0,
                "expected_assists": 0.0021,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 17,
                "duels_won": 2,
                "ball_recovery": 6,
                "saves": 3,
                "goals_prevented": 1.2046
              },
              "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": 935,
            "combined_rank_score": 436.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 122.0,
            "sofascore_rating": 7.4,
            "sofascore_appearances": 3.0,
            "fifa_rank": 750.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "projected_match_rating": 6.9851,
            "source_file": "data/player_rankings.csv",
            "player_name": "David Soria",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Isco",
                  "ranking": 930
                },
                {
                  "player_name": "Karim Benzema",
                  "ranking": 931
                },
                {
                  "player_name": "Julen Agirrezabala",
                  "ranking": 932
                },
                {
                  "player_name": "Koen Casteels",
                  "ranking": 933
                },
                {
                  "player_name": "Danilo Pereira",
                  "ranking": 934
                }
              ],
              "lower": [
                {
                  "player_name": "Jasurbek Jaloliddinov",
                  "ranking": 936
                },
                {
                  "player_name": "Kalidou Koulibaly",
                  "ranking": 937
                },
                {
                  "player_name": "Dragan Ceran",
                  "ranking": 938
                },
                {
                  "player_name": "Benjamín Berríos",
                  "ranking": 939
                },
                {
                  "player_name": "Golib Gaybullaev",
                  "ranking": 940
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.467,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "G_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "accurateLongBalls",
              "totalOwnHalfPasses",
              "accurateOwnHalfPasses",
              "saves",
              "savedShotsFromInsideTheBox",
              "goodHighClaim",
              "punches",
              "aerialWon",
              "totalKeeperSweeper",
              "accurateKeeperSweeper",
              "totalClearance",
              "ballRecovery",
              "touches",
              "possessionLostCtrl",
              "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": 3,
            "data_confidence": 0.467,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "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 3 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Getafe, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 7.1188,
                "minutes": 90,
                "total_pass": 37,
                "accurate_pass": 18,
                "duels_won": 0,
                "total_long_balls": 32,
                "accurate_long_balls": 13,
                "touches": 43,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 19.0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8
              },
              "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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 8.1
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 0.3304,
                  "touches": 42.9524,
                  "totalOwnHalfPasses": 9.9242,
                  "punches": 0.7191,
                  "distribution_accuracy": 0.8768,
                  "accurateKeeperSweeper": 0.0
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 3.1056785583496094,
                    "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": "totalOwnHalfPasses",
                          "contribution": 0.3633
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0796
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0732
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0544
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.047
                        }
                      ],
                      "others": -0.078,
                      "total": 3.1057
                    }
                  },
                  {
                    "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.0387
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0371
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0316
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0285
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0251
                        }
                      ],
                      "others": 0.0002,
                      "total": -0.044
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.118755340576172,
                    "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": "long_ball_accuracy",
                          "contribution": 0.0794
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0758
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0656
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0436
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0322
                        }
                      ],
                      "others": -0.0106,
                      "total": 7.1188
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.9851,
                "minutes": 88,
                "total_pass": 36,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 32,
                "accurate_long_balls": 13,
                "touches": 42,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 18.6434,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8
              },
              "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.0813)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.9851,
                "minutes": 88,
                "total_pass": 36,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 32,
                "accurate_long_balls": 13,
                "touches": 42,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 18.6434,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.33,
                "shotsOnTargetAgainst": 4.0,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.3333,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": -1.0
              },
              "params": {
                "blend_weight": 0.0813,
                "history_matches": 3,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Getafe"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "saves",
                  "before": 3.0474,
                  "after": 3.0165
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.9851,
                "minutes": 88,
                "total_pass": 36,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 32,
                "accurate_long_balls": 13,
                "touches": 42,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 18.6434,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.33,
                "shotsOnTargetAgainst": 4.0,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.3333,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.9851,
                "minutes": 88,
                "total_pass": 36,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 32,
                "accurate_long_balls": 13,
                "touches": 42,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 18.6434,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.33,
                "shotsOnTargetAgainst": 4.0,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.3333,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 1.35,
                "high_pressure_saves": 0.51,
                "shots_faced": 2.9,
                "opponent_faced": "Antony, Troy Parrott",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.9851,
                "minutes": 88,
                "total_pass": 36,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 32,
                "accurate_long_balls": 13,
                "touches": 42,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 18.6434,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.33,
                "shotsOnTargetAgainst": 4.0,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.3333,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 1.35,
                "high_pressure_saves": 0.51,
                "shots_faced": 2.9,
                "opponent_faced": "Antony, Troy Parrott",
                "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.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 12, fifa_overall 80.0)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.9851,
                "minutes": 88,
                "total_pass": 36,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 32,
                "accurate_long_balls": 13,
                "touches": 42,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 18.6434,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.33,
                "shotsOnTargetAgainst": 4.0,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.3333,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 1.35,
                "high_pressure_saves": 0.51,
                "shots_faced": 2.9,
                "opponent_faced": "Antony, Troy Parrott",
                "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": 80.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "starter",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 0 projected goals distributed by scorer weight",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.9851,
                "minutes": 88,
                "total_pass": 36,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 32,
                "accurate_long_balls": 13,
                "touches": 42,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 18.6434,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.33,
                "shotsOnTargetAgainst": 4.0,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.3333,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 1.35,
                "high_pressure_saves": 0.51,
                "shots_faced": 2.9,
                "opponent_faced": "Antony, Troy Parrott",
                "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": 80.0
              },
              "params": {
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 0 projected assists distributed by provider weight",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.9851,
                "minutes": 88,
                "total_pass": 36,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 32,
                "accurate_long_balls": 13,
                "touches": 42,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 18.6434,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.33,
                "shotsOnTargetAgainst": 4.0,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.3333,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 1.35,
                "high_pressure_saves": 0.51,
                "shots_faced": 2.9,
                "opponent_faced": "Antony, Troy Parrott",
                "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": 80.0
              },
              "params": {
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0
              }
            }
          ]
        },
        "Andrés García": {
          "player_id": 1457536,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 21,
          "height": 183,
          "market_value": 6500000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "rating": 6.5432,
            "minutes": 77,
            "total_pass": 25,
            "accurate_pass": 21,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 0,
            "total_own_half_passes": 10,
            "accurate_own_half_passes": 10,
            "total_opp_half_passes": 15,
            "accurate_opp_half_passes": 12,
            "crosses_total": 4,
            "crosses_accurate": 0,
            "touches": 48,
            "possession_lost": 12.9241,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 0,
            "ball_recovery": 5,
            "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.0298,
            "total_shots": 1,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 16,
            "total_progression": 61,
            "progressive_carries": 3,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 84.4,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.718,
            "opponent_faced": "Troy Parrott",
            "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": 73.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30: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": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Getafe",
              "opponent": "Deportivo",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 82,
                "rating": 6.8,
                "assists": 0,
                "expected_assists": 0.0116,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 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": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 65,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0469,
                "expected_assists": 0.0589,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 22,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300.0,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 85,
                "rating": 7.7,
                "assists": 0,
                "expected_goals": 0.0557,
                "expected_assists": 0.0147,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 29,
                "accurate_pass": 25,
                "tackles": 4,
                "tackles_won": 4,
                "clearances": 1,
                "duels_won": 6,
                "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": 4003,
            "combined_rank_score": 1985.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3526.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "projected_match_rating": 6.5432,
            "source_file": "data/player_rankings.csv",
            "player_name": "Andrés García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Tai Baribo",
                  "ranking": 3998
                },
                {
                  "player_name": "Claudio Echeverri",
                  "ranking": 3999
                },
                {
                  "player_name": "Turrientes",
                  "ranking": 4000
                },
                {
                  "player_name": "Agirrezabala",
                  "ranking": 4001
                },
                {
                  "player_name": "Enzo Bardeli",
                  "ranking": 4002
                }
              ],
              "lower": [
                {
                  "player_name": "Antoni Milambo",
                  "ranking": 4004
                },
                {
                  "player_name": "Loum Tchaouna",
                  "ranking": 4005
                },
                {
                  "player_name": "Marco Grüll",
                  "ranking": 4006
                },
                {
                  "player_name": "Soungoutou Magassa",
                  "ranking": 4007
                },
                {
                  "player_name": "Mikel Amondarain",
                  "ranking": 4008
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.463,
          "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.463,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9942,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 228.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.18,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Getafe, rel: 0.17, 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.5816,
                "minutes": 77,
                "total_pass": 25,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 12,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 13.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.03,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 16,
                "total_progression": 61,
                "progressive_carries": 3,
                "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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 82.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Osasuna",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Real Racing Club",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 20.8989,
                  "touches_p90": 56.0809,
                  "possessionLostCtrl": 13.0087,
                  "totalClearance": 1.3887,
                  "aerialWon": 0.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7949123978614807,
                    "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.021
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0182
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.017
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0152
                        }
                      ],
                      "others": -0.0466,
                      "total": 0.7949
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.6241669654846191,
                    "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.0751
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0741
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0748
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0746
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0198
                        }
                      ],
                      "others": 0.0997,
                      "total": 1.6242
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.413659691810608,
                    "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.1476
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1016
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0804
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0845
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0593
                        }
                      ],
                      "others": 0.1914,
                      "total": 1.4137
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.858038306236267,
                    "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.5792
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.3191
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1729
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1591
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.1399
                        }
                      ],
                      "others": -0.5208,
                      "total": 1.858
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.029211401939392,
                    "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.0859
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0489
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0483
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0415
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0373
                        }
                      ],
                      "others": -0.0488,
                      "total": 1.0292
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.581648349761963,
                    "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.0351
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.034
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0221
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0221
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.022
                        }
                      ],
                      "others": -0.034,
                      "total": 6.5816
                    }
                  }
                ],
                "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.9942, quality 0.481)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5432,
                "minutes": 77,
                "total_pass": 25,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 12,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 12.9241,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0298,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 16,
                "total_progression": 61,
                "progressive_carries": 3,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 6500000,
                "quality_factor": 0.4805,
                "boost_factor": 0.9942
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0677)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5432,
                "minutes": 77,
                "total_pass": 25,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 12,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 12.9241,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0298,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 16,
                "total_progression": 61,
                "progressive_carries": 3,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 84.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": -0.39
              },
              "params": {
                "blend_weight": 0.0677,
                "history_matches": 3,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Getafe"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 1.4054,
                  "after": 1.4728
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.7903,
                  "after": 0.7368
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "totalCross",
                  "before": 3.6486,
                  "after": 3.6724
                },
                {
                  "stat": "totalShots",
                  "before": 0.9942,
                  "after": 1.0068
                }
              ]
            },
            {
              "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.5432,
                "minutes": 77,
                "total_pass": 25,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 12,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 12.9241,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0298,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 16,
                "total_progression": 61,
                "progressive_carries": 3,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 84.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "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.5432,
                "minutes": 77,
                "total_pass": 25,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 12,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 12.9241,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0298,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 16,
                "total_progression": 61,
                "progressive_carries": 3,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 84.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.718,
                "opponent_faced": "Troy Parrott",
                "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
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5432,
                "minutes": 77,
                "total_pass": 25,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 12,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 12.9241,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0298,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 16,
                "total_progression": 61,
                "progressive_carries": 3,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 84.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.718,
                "opponent_faced": "Troy Parrott",
                "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.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 6, fifa_overall 73.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5432,
                "minutes": 77,
                "total_pass": 25,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 12,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 12.9241,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0298,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 16,
                "total_progression": 61,
                "progressive_carries": 3,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 84.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.718,
                "opponent_faced": "Troy Parrott",
                "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": 73.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 0 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5432,
                "minutes": 77,
                "total_pass": 25,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 12,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 12.9241,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0298,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 16,
                "total_progression": 61,
                "progressive_carries": 3,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 84.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.718,
                "opponent_faced": "Troy Parrott",
                "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": 73.0
              },
              "params": {
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 0 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5432,
                "minutes": 77,
                "total_pass": 25,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 12,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 12.9241,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0298,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 16,
                "total_progression": 61,
                "progressive_carries": 3,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 84.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.718,
                "opponent_faced": "Troy Parrott",
                "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": 73.0
              },
              "params": {
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0
              }
            }
          ]
        },
        "Abdel Abqar": {
          "player_id": 1101232,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 5,
          "height": 188,
          "market_value": 3300000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 3,
            "aerial_won": 1,
            "rating": 4.8917,
            "minutes": 1,
            "total_pass": 1,
            "accurate_pass": 31,
            "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": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 3,
            "possession_lost": 0.9823,
            "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": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 33.7,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "opponent_faced": "Troy Parrott",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416300.0,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Getafe",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 1,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1,
                "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": 1666,
            "combined_rank_score": 767.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 675.0,
            "sofascore_rating": 6.7227,
            "sofascore_appearances": 23.0,
            "fifa_rank": 860.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "projected_match_rating": 4.8917,
            "source_file": "data/player_rankings.csv",
            "player_name": "Abdel Abqar",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Giacomo Raspadori",
                  "ranking": 1661
                },
                {
                  "player_name": "Wataru Endo",
                  "ranking": 1662
                },
                {
                  "player_name": "Barış Alper Yılmaz",
                  "ranking": 1663
                },
                {
                  "player_name": "Carlos Soler",
                  "ranking": 1664
                },
                {
                  "player_name": "Rodrigo Bentancur",
                  "ranking": 1665
                }
              ],
              "lower": [
                {
                  "player_name": "Sofyan Amrabat",
                  "ranking": 1667
                },
                {
                  "player_name": "Gang-han Lee",
                  "ranking": 1668
                },
                {
                  "player_name": "Choi Chi-ung",
                  "ranking": 1669
                },
                {
                  "player_name": "Robin Koch",
                  "ranking": 1670
                },
                {
                  "player_name": "Ryoji Fujimori",
                  "ranking": 1671
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.323,
          "history_matches": 1,
          "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": 1,
            "data_confidence": 0.323,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9823,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "minutes": 91.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0667
            },
            "rationale": "XGBoost regressor (D_service) evaluated 1 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Getafe, rel: 0.07, 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": 0,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 4.9796,
                "minutes": 1,
                "total_pass": 1,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 1.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "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": 0,
                "total_progression": 0,
                "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-23",
                    "opponent": "Real Racing Club",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": null
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 0.0,
                  "touches_p90": 270.0,
                  "possessionLostCtrl": 1.0,
                  "totalClearance": 1.0,
                  "aerialWon": 0.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9386293888092041,
                    "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": "touches_p90",
                          "contribution": 0.0965
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0584
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0535
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0304
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0281
                        }
                      ],
                      "others": -0.0151,
                      "total": 0.9386
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.8771370053291321,
                    "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": "totalProgression",
                          "contribution": -0.1738
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0637
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0572
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0436
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0412
                        }
                      ],
                      "others": -0.0987,
                      "total": 0.8771
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.48007890582084656,
                    "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": "totalProgression",
                          "contribution": -0.1266
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0712
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0444
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0365
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0326
                        }
                      ],
                      "others": -0.0761,
                      "total": 0.4801
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.8365626335144043,
                    "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": "aerialWon",
                          "contribution": -0.4688
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3746
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.4055
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.3522
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3056
                        }
                      ],
                      "others": -0.8313,
                      "total": 2.8366
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.1214491128921509,
                    "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.0771
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0595
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0451
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.045
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.046
                        }
                      ],
                      "others": -0.149,
                      "total": 1.1214
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 4.979612350463867,
                    "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": "accuratePass",
                          "contribution": -0.5973
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.4433
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.2854
                        },
                        {
                          "name": "touches",
                          "contribution": -0.1526
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.1205
                        }
                      ],
                      "others": -0.084,
                      "total": 4.9796
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9823, quality 0.441)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 4.8917,
                "minutes": 1,
                "total_pass": 1,
                "accurate_pass": 31,
                "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": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9823,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 3300000,
                "quality_factor": 0.4412,
                "boost_factor": 0.9823
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0361)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 4.8917,
                "minutes": 1,
                "total_pass": 1,
                "accurate_pass": 31,
                "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": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9823,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": -2.97
              },
              "params": {
                "blend_weight": 0.0361,
                "history_matches": 1,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Getafe"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "wonTackle",
                  "before": 0.4716,
                  "after": 0.4907
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 4.8917,
                "minutes": 1,
                "total_pass": 1,
                "accurate_pass": 31,
                "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": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9823,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 4.8917,
                "minutes": 1,
                "total_pass": 1,
                "accurate_pass": 31,
                "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": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9823,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Troy Parrott",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 4.8917,
                "minutes": 1,
                "total_pass": 1,
                "accurate_pass": 31,
                "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": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9823,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Troy Parrott",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 9, fifa_overall 79.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 4.8917,
                "minutes": 1,
                "total_pass": 1,
                "accurate_pass": 31,
                "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": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9823,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Troy Parrott",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 0 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 4.8917,
                "minutes": 1,
                "total_pass": 1,
                "accurate_pass": 31,
                "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": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9823,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Troy Parrott",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 0 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 4.8917,
                "minutes": 1,
                "total_pass": 1,
                "accurate_pass": 31,
                "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": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9823,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Troy Parrott",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0
              }
            }
          ]
        },
        "Zaid Romero": {
          "player_id": 1108450,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 24,
          "height": 192,
          "market_value": 2400000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "rating": 6.4934,
            "minutes": 81,
            "total_pass": 40,
            "accurate_pass": 32,
            "duels_won": 4,
            "total_long_balls": 8,
            "accurate_long_balls": 3,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 21,
            "accurate_opp_half_passes": 15,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 56,
            "possession_lost": 11.4509,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 5,
            "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.0098,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 13,
            "total_progression": 61,
            "progressive_carries": 2,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 100.0,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "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.6,
            "defensive_success_rate": 0.718,
            "opponent_faced": "Troy Parrott",
            "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": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 67,
                "rating": 5.8,
                "assists": 0,
                "expected_goals": 0.0428,
                "expected_assists": 0.0045,
                "total_shots": 1,
                "total_pass": 31,
                "accurate_pass": 24,
                "interceptions": 3,
                "clearances": 4,
                "duels_won": 2,
                "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": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assists": 0,
                "expected_assists": 0.0157,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 47,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 5,
                "duels_won": 10,
                "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": 16416300.0,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 26,
                "interceptions": 2,
                "clearances": 6,
                "aerial_won": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 2838,
            "combined_rank_score": 960.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 348.0,
            "sofascore_rating": 6.9867,
            "sofascore_appearances": 15.0,
            "fifa_rank": 1572.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "projected_match_rating": 6.4934,
            "source_file": "data/player_rankings.csv",
            "player_name": "Zaid Romero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Shamsiddin Tursunmakhamadov",
                  "ranking": 2833
                },
                {
                  "player_name": "Dani Meso",
                  "ranking": 2834
                },
                {
                  "player_name": "Reggie Walsh",
                  "ranking": 2835
                },
                {
                  "player_name": "Kaden Rodney",
                  "ranking": 2836
                },
                {
                  "player_name": "Shumaira Mheuka",
                  "ranking": 2837
                }
              ],
              "lower": [
                {
                  "player_name": "Diego Carrasco",
                  "ranking": 2839
                },
                {
                  "player_name": "James Scanlon",
                  "ranking": 2840
                },
                {
                  "player_name": "Paulinho",
                  "ranking": 2841
                },
                {
                  "player_name": "Marc Casadó",
                  "ranking": 2842
                },
                {
                  "player_name": "Maximilian Göppel",
                  "ranking": 2843
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.467,
          "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.467,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Getafe, 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": 4,
                "aerial_won": 1,
                "rating": 6.6176,
                "minutes": 82,
                "total_pass": 41,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 3,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 57,
                "possession_lost": 11.67,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.01,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 62,
                "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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 32.1613,
                  "touches_p90": 62.4109,
                  "possessionLostCtrl": 11.3955,
                  "totalClearance": 4.8921,
                  "aerialWon": 1.9329
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0109460353851318,
                    "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.0342
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0304
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0209
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0183
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0145
                        }
                      ],
                      "others": 0.0184,
                      "total": 1.0109
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.5112982988357544,
                    "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": "history_matches",
                          "contribution": 0.0917
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0951
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0865
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0734
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0472
                        }
                      ],
                      "others": 0.0295,
                      "total": 1.5113
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.9252603054046631,
                    "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": "totalClearance_p90",
                          "contribution": -0.1075
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0859
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0684
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0628
                        },
                        {
                          "name": "error_severity",
                          "contribution": -0.045
                        }
                      ],
                      "others": -0.0068,
                      "total": 0.9253
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.679133653640747,
                    "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": 0.2934
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.2452
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.2032
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.1915
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1657
                        }
                      ],
                      "others": 0.3817,
                      "total": 3.6791
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.237620234489441,
                    "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.0952
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0552
                        },
                        {
                          "name": "error_severity",
                          "contribution": 0.0514
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0485
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0324
                        }
                      ],
                      "others": -0.032,
                      "total": 1.2376
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.617611885070801,
                    "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.062
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.049
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0297
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0279
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0257
                        }
                      ],
                      "others": 0.0978,
                      "total": 6.6176
                    }
                  }
                ],
                "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": 4,
                "aerial_won": 1,
                "rating": 6.4934,
                "minutes": 81,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 3,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 11.4509,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0098,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 61,
                "progressive_carries": 2,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 2400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0813)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.4934,
                "minutes": 81,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 3,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 11.4509,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0098,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 61,
                "progressive_carries": 2,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": -1.0
              },
              "params": {
                "blend_weight": 0.0813,
                "history_matches": 3,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Getafe"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.1083
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0813
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.992,
                  "after": 1.0197
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "totalShots",
                  "before": 0.3238,
                  "after": 0.2975
                },
                {
                  "stat": "wonTackle",
                  "before": 0.9079,
                  "after": 0.9154
                }
              ]
            },
            {
              "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.4934,
                "minutes": 81,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 3,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 11.4509,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0098,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 61,
                "progressive_carries": 2,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "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.4934,
                "minutes": 81,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 3,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 11.4509,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0098,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 61,
                "progressive_carries": 2,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "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.6,
                "defensive_success_rate": 0.718,
                "opponent_faced": "Troy Parrott",
                "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
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.4934,
                "minutes": 81,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 3,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 11.4509,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0098,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 61,
                "progressive_carries": 2,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "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.6,
                "defensive_success_rate": 0.718,
                "opponent_faced": "Troy Parrott",
                "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.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 13, fifa_overall 77.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.4934,
                "minutes": 81,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 3,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 11.4509,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0098,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 61,
                "progressive_carries": 2,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "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.6,
                "defensive_success_rate": 0.718,
                "opponent_faced": "Troy Parrott",
                "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": 77.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "starter",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 0 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.4934,
                "minutes": 81,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 3,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 11.4509,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0098,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 61,
                "progressive_carries": 2,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "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.6,
                "defensive_success_rate": 0.718,
                "opponent_faced": "Troy Parrott",
                "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": 77.0
              },
              "params": {
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 0 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.4934,
                "minutes": 81,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 3,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 11.4509,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 5,
                "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.0098,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 61,
                "progressive_carries": 2,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "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.6,
                "defensive_success_rate": 0.718,
                "opponent_faced": "Troy Parrott",
                "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": 77.0
              },
              "params": {
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0
              }
            }
          ]
        },
        "Mario Martín": {
          "player_id": 1154549,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 6,
          "height": 177,
          "market_value": 10700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0493,
            "assists": 0,
            "expected_goals": 0.0803,
            "rating": 6.7735,
            "minutes": 91,
            "total_pass": 24,
            "accurate_pass": 19,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 4,
            "total_own_half_passes": 11,
            "accurate_own_half_passes": 9,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 10,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 40,
            "possession_lost": 9.0828,
            "dispossessed": 1.0092,
            "duels_lost": 10,
            "aerial_won": 1,
            "aerial_lost": 3,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 2,
            "clearances": 2,
            "total_contest": 2,
            "won_contest": 0,
            "challenges_lost": 4,
            "fouls": 0,
            "fouls_drawn": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 1,
            "shots_off_target": 1,
            "blocks": 1,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0908,
            "ball_carries": 10,
            "total_progression": 32,
            "progressive_carries": 1,
            "total_shots": 2,
            "offsides": 0,
            "yellowCards": 1.4286,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 24.1,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.465,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Giovani Lo Celso",
            "opponent_faced": "Giovani Lo Celso",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30: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": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Getafe",
              "opponent": "Deportivo",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.069,
                "expected_assists": 0.0083,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 19,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 3754,
            "combined_rank_score": 1748.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2918.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "projected_match_rating": 6.7735,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mario Martín",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Iván Balliu",
                  "ranking": 3749
                },
                {
                  "player_name": "Rob Schoofs",
                  "ranking": 3750
                },
                {
                  "player_name": "Ezequiel Piovi",
                  "ranking": 3751
                },
                {
                  "player_name": "Patrick Pflücke",
                  "ranking": 3752
                },
                {
                  "player_name": "Junya Ito",
                  "ranking": 3753
                }
              ],
              "lower": [
                {
                  "player_name": "Doğucan Haspolat",
                  "ranking": 3755
                },
                {
                  "player_name": "Thiago Fernández",
                  "ranking": 3756
                },
                {
                  "player_name": "Jarne Steuckers",
                  "ranking": 3757
                },
                {
                  "player_name": "Rodrigo Gomes",
                  "ranking": 3758
                },
                {
                  "player_name": "Myrto Uzuni",
                  "ranking": 3759
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.32,
          "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.32,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0092,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 1.0,
              "minutes": 65.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0467
            },
            "rationale": "XGBoost regressor (M_service) evaluated 1 historical appearances across 5 target models; FBref 2026-2027 prior blended (La Liga, Getafe, rel: 0.05, 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.0488,
                "assists": 0,
                "expected_goals": 0.0915,
                "rating": 6.7118,
                "minutes": 90,
                "total_pass": 24,
                "accurate_pass": 19,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 4,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 9.0,
                "dispossessed": 1.0,
                "duels_lost": 10,
                "aerial_won": 1,
                "aerial_lost": 3,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 2,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 4,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.09,
                "ball_carries": 10,
                "total_progression": 32,
                "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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 1.0,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 5.0,
                  "ballRecovery": 5.0,
                  "intensity_index": 6.453,
                  "expectedAssists": 0.0083,
                  "kilometersCovered": 11.51
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.8322097063064575,
                    "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.0492
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0459
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0298
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0288
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0251
                        }
                      ],
                      "others": -0.1671,
                      "total": 0.8322
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04881610348820686,
                    "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_p90",
                          "contribution": -0.0103
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0084
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0045
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0035
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0031
                        }
                      ],
                      "others": -0.0143,
                      "total": 0.0488
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06633774191141129,
                    "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.0058
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0048
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0035
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0024
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0106,
                      "total": 0.0663
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09154396504163742,
                    "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.0275
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0246
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.008
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0069
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0004,
                      "total": 0.0915
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.711815357208252,
                    "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": "duelLost",
                          "contribution": -0.0335
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0283
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0241
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0217
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0185
                        }
                      ],
                      "others": 0.0061,
                      "total": 6.7118
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0092, quality 0.531)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0493,
                "assists": 0,
                "expected_goals": 0.0924,
                "rating": 6.7735,
                "minutes": 91,
                "total_pass": 24,
                "accurate_pass": 19,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 4,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 9.0828,
                "dispossessed": 1.0092,
                "duels_lost": 10,
                "aerial_won": 1,
                "aerial_lost": 3,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 2,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 4,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0908,
                "ball_carries": 10,
                "total_progression": 32,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 10700000,
                "quality_factor": 0.5306,
                "boost_factor": 1.0092
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0253)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0493,
                "assists": 0,
                "expected_goals": 0.0924,
                "rating": 6.7735,
                "minutes": 91,
                "total_pass": 24,
                "accurate_pass": 19,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 4,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 9.0828,
                "dispossessed": 1.0092,
                "duels_lost": 10,
                "aerial_won": 1,
                "aerial_lost": 3,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 2,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 4,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0908,
                "ball_carries": 10,
                "total_progression": 32,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 24.1,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0253,
                "history_matches": 1,
                "prior_reliability": 0.0467,
                "competition": "La Liga",
                "squad": "Getafe"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 1.0092,
                  "after": 1.1282
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0723
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.0092,
                  "after": 0.9837
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.0092,
                  "after": 0.9837
                },
                {
                  "stat": "totalCross",
                  "before": 1.0092,
                  "after": 1.0198
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0493,
                "assists": 0,
                "expected_goals": 0.0924,
                "rating": 6.7735,
                "minutes": 91,
                "total_pass": 24,
                "accurate_pass": 19,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 4,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 9.0828,
                "dispossessed": 1.0092,
                "duels_lost": 10,
                "aerial_won": 1,
                "aerial_lost": 3,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 2,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 4,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0908,
                "ball_carries": 10,
                "total_progression": 32,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 24.1,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0493,
                "assists": 0,
                "expected_goals": 0.0924,
                "rating": 6.7735,
                "minutes": 91,
                "total_pass": 24,
                "accurate_pass": 19,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 4,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 9.0828,
                "dispossessed": 1.0092,
                "duels_lost": 10,
                "aerial_won": 1,
                "aerial_lost": 3,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 2,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 4,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0908,
                "ball_carries": 10,
                "total_progression": 32,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 24.1,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.465,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.0092,
                  "after": 1.0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0493,
                "assists": 0,
                "expected_goals": 0.0803,
                "rating": 6.7735,
                "minutes": 91,
                "total_pass": 24,
                "accurate_pass": 19,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 4,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 9.0828,
                "dispossessed": 1.0092,
                "duels_lost": 10,
                "aerial_won": 1,
                "aerial_lost": 3,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 2,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 4,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0908,
                "ball_carries": 10,
                "total_progression": 32,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 24.1,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.465,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "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.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0924,
                  "after": 0.0803
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 2, fifa_overall 74.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0493,
                "assists": 0,
                "expected_goals": 0.0803,
                "rating": 6.7735,
                "minutes": 91,
                "total_pass": 24,
                "accurate_pass": 19,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 4,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 9.0828,
                "dispossessed": 1.0092,
                "duels_lost": 10,
                "aerial_won": 1,
                "aerial_lost": 3,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 2,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 4,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0908,
                "ball_carries": 10,
                "total_progression": 32,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 24.1,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.465,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 0 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0493,
                "assists": 0,
                "expected_goals": 0.0803,
                "rating": 6.7735,
                "minutes": 91,
                "total_pass": 24,
                "accurate_pass": 19,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 4,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 9.0828,
                "dispossessed": 1.0092,
                "duels_lost": 10,
                "aerial_won": 1,
                "aerial_lost": 3,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 2,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 4,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0908,
                "ball_carries": 10,
                "total_progression": 32,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 24.1,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.465,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 0 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0493,
                "assists": 0,
                "expected_goals": 0.0803,
                "rating": 6.7735,
                "minutes": 91,
                "total_pass": 24,
                "accurate_pass": 19,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 4,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 9.0828,
                "dispossessed": 1.0092,
                "duels_lost": 10,
                "aerial_won": 1,
                "aerial_lost": 3,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 2,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 4,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0908,
                "ball_carries": 10,
                "total_progression": 32,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 24.1,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.465,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0
              }
            }
          ]
        },
        "Orel Mangala": {
          "player_id": 793988,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 23,
          "height": 178,
          "market_value": 8600000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0462,
            "assists": 0,
            "expected_goals": 0.0312,
            "rating": 6.8945,
            "minutes": 89,
            "total_pass": 29,
            "accurate_pass": 26,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 9,
            "accurate_own_half_passes": 9,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 18,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 39,
            "possession_lost": 5.3394,
            "dispossessed": 1.3323,
            "duels_lost": 4,
            "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": 15,
            "total_progression": 56,
            "progressive_carries": 1,
            "total_shots": 2,
            "offsides": 0,
            "yellowCards": 0.3333,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 99.6,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.458,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Giovani Lo Celso",
            "opponent_faced": "Giovani Lo Celso",
            "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_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30: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": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Getafe",
              "opponent": "Deportivo",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 89,
                "rating": 6.3,
                "assists": 0,
                "expected_assists": 0.0044,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 12,
                "interceptions": 4,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.0625,
                "expected_assists": 0.0318,
                "total_shots": 1,
                "total_pass": 47,
                "accurate_pass": 45,
                "key_pass": 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": 16416300.0,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 89,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.0435,
                "expected_assists": 0.018,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 26,
                "accurate_pass": 22,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "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": 3486,
            "combined_rank_score": 1474.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2250.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "projected_match_rating": 6.8945,
            "source_file": "data/player_rankings.csv",
            "player_name": "Orel Mangala",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jonathan Clauss",
                  "ranking": 3481
                },
                {
                  "player_name": "Philipp Köhn",
                  "ranking": 3482
                },
                {
                  "player_name": "Leandro González Pírez",
                  "ranking": 3483
                },
                {
                  "player_name": "Mahdi Camara",
                  "ranking": 3484
                },
                {
                  "player_name": "Saud Abdulhamid",
                  "ranking": 3485
                }
              ],
              "lower": [
                {
                  "player_name": "Lassine Sinayoko",
                  "ranking": 3487
                },
                {
                  "player_name": "Tyrhys Dolan",
                  "ranking": 3488
                },
                {
                  "player_name": "Yann Gboho",
                  "ranking": 3489
                },
                {
                  "player_name": "Ansu Fati",
                  "ranking": 3490
                },
                {
                  "player_name": "Marcus Edwards",
                  "ranking": 3491
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.467,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "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.467,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0018,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 269.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.0,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (M_service) evaluated 3 historical appearances across 5 target models; FBref 2026-2027 prior blended (La Liga, Getafe, rel: 0.20, 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.0462,
                "assists": 0,
                "expected_goals": 0.0358,
                "rating": 6.8824,
                "minutes": 89,
                "total_pass": 29,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 5.33,
                "dispossessed": 1.33,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "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": 15,
                "total_progression": 56,
                "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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Real Racing Club",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 2.1737,
                  "ballRecovery": 2.1642,
                  "intensity_index": 4.5659,
                  "expectedAssists": 0.0173,
                  "kilometersCovered": 10.7704
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7693186402320862,
                    "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": "possessionLostCtrl",
                          "contribution": -0.0633
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0574
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0454
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0258
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0201
                        }
                      ],
                      "others": -0.1026,
                      "total": 0.7693
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04616525024175644,
                    "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.0166
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0042
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0037
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0034
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0156,
                      "total": 0.0462
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06590736657381058,
                    "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.0047
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0036
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0031
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0161,
                      "total": 0.0659
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03584790229797363,
                    "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.0295
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0145
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0095
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.008
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0033
                        }
                      ],
                      "others": -0.0147,
                      "total": 0.0358
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.882379055023193,
                    "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": "expectedAssists",
                          "contribution": -0.024
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0204
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0197
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0162
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0145
                        }
                      ],
                      "others": 0.0432,
                      "total": 6.8824
                    }
                  }
                ],
                "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.0018, quality 0.506)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0462,
                "assists": 0,
                "expected_goals": 0.0359,
                "rating": 6.8945,
                "minutes": 89,
                "total_pass": 29,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 5.3394,
                "dispossessed": 1.3323,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "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": 15,
                "total_progression": 56,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 8600000,
                "quality_factor": 0.5059,
                "boost_factor": 1.0018
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0813)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0462,
                "assists": 0,
                "expected_goals": 0.0359,
                "rating": 6.8945,
                "minutes": 89,
                "total_pass": 29,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 5.3394,
                "dispossessed": 1.3323,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "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": 15,
                "total_progression": 56,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 99.6,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": -1.0
              },
              "params": {
                "blend_weight": 0.0813,
                "history_matches": 3,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Getafe"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.1896
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.1354
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.1354
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "goalAssist",
                  "before": 0.066,
                  "after": 0.0606
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0462,
                "assists": 0,
                "expected_goals": 0.0359,
                "rating": 6.8945,
                "minutes": 89,
                "total_pass": 29,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 5.3394,
                "dispossessed": 1.3323,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "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": 15,
                "total_progression": 56,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 99.6,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0462,
                "assists": 0,
                "expected_goals": 0.0359,
                "rating": 6.8945,
                "minutes": 89,
                "total_pass": 29,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 5.3394,
                "dispossessed": 1.3323,
                "duels_lost": 4,
                "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": 15,
                "total_progression": 56,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 99.6,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.458,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 1.0,
                  "after": 1.7
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0462,
                "assists": 0,
                "expected_goals": 0.0312,
                "rating": 6.8945,
                "minutes": 89,
                "total_pass": 29,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 5.3394,
                "dispossessed": 1.3323,
                "duels_lost": 4,
                "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": 15,
                "total_progression": 56,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 99.6,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.458,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 4, fifa_overall 75.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0462,
                "assists": 0,
                "expected_goals": 0.0312,
                "rating": 6.8945,
                "minutes": 89,
                "total_pass": 29,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 5.3394,
                "dispossessed": 1.3323,
                "duels_lost": 4,
                "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": 15,
                "total_progression": 56,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 99.6,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.458,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "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": 4,
                "squad_role": "starter",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 0 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0462,
                "assists": 0,
                "expected_goals": 0.0312,
                "rating": 6.8945,
                "minutes": 89,
                "total_pass": 29,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 5.3394,
                "dispossessed": 1.3323,
                "duels_lost": 4,
                "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": 15,
                "total_progression": 56,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 99.6,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.458,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "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": {
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 0 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0462,
                "assists": 0,
                "expected_goals": 0.0312,
                "rating": 6.8945,
                "minutes": 89,
                "total_pass": 29,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 5.3394,
                "dispossessed": 1.3323,
                "duels_lost": 4,
                "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": 15,
                "total_progression": 56,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 99.6,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.458,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "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": {
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0
              }
            }
          ]
        },
        "Ramón Terrats": {
          "player_id": 1088565,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 11,
          "height": 179,
          "market_value": 3200000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.088,
            "assists": 0,
            "expected_goals": 0.1465,
            "rating": 6.8145,
            "minutes": 88,
            "total_pass": 28,
            "accurate_pass": 22,
            "duels_won": 6,
            "total_long_balls": 3,
            "accurate_long_balls": 0,
            "total_own_half_passes": 8,
            "accurate_own_half_passes": 7,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 15,
            "crosses_total": 4,
            "crosses_accurate": 0,
            "touches": 50,
            "possession_lost": 12.4416,
            "dispossessed": 0.0,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 2,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 2,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 3,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 14,
            "total_progression": 63,
            "progressive_carries": 2,
            "total_shots": 3,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 20.0,
            "shotConversion": 0.0,
            "minutesPct": 99.6,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "crosses_attempted": 2.2,
            "duel_win_rate": 0.395,
            "pressing_faced": "LOW",
            "matchup_zone": "LWB vs RWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pablo Fornals",
            "opponent_faced": "Pablo Fornals",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "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": 16416326.0,
              "match_date": "2026-09-13 16:30: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": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Getafe",
              "opponent": "Deportivo",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 89,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.1452,
                "expected_assists": 0.1317,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 19,
                "accurate_pass": 16,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 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": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assists": 0,
                "expected_goals": 0.2856,
                "expected_assists": 0.3853,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 36,
                "accurate_pass": 28,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 3,
                "duels_won": 8,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300.0,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 89,
                "rating": 7.3,
                "assists": 0,
                "expected_goals": 0.1121,
                "expected_assists": 0.1731,
                "total_shots": 4,
                "shots_off_target": 4,
                "total_pass": 30,
                "accurate_pass": 23,
                "key_pass": 4,
                "tackles": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 467,
            "combined_rank_score": 328.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 278.0,
            "sofascore_rating": 7.0667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 379.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "projected_match_rating": 6.8145,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ramón Terrats",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Hans Vanaken",
                  "ranking": 462
                },
                {
                  "player_name": "Asier Bonel",
                  "ranking": 463
                },
                {
                  "player_name": "Marcos Navarro",
                  "ranking": 464
                },
                {
                  "player_name": "Jae Won Hwang",
                  "ranking": 465
                },
                {
                  "player_name": "Gjoko Zajkov",
                  "ranking": 466
                }
              ],
              "lower": [
                {
                  "player_name": "Igor Formiga",
                  "ranking": 468
                },
                {
                  "player_name": "Anthony Caceres",
                  "ranking": 469
                },
                {
                  "player_name": "James Garner",
                  "ranking": 470
                },
                {
                  "player_name": "Marcus Rashford",
                  "ranking": 471
                },
                {
                  "player_name": "João Cancelo",
                  "ranking": 472
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.467,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "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.467,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.982,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 269.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 3.35,
              "shots_on_target_pct": 20.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (M_service) evaluated 3 historical appearances across 5 target models; FBref 2026-2027 prior blended (La Liga, Getafe, rel: 0.20, 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.0896,
                "assists": 0,
                "expected_goals": 0.1716,
                "rating": 6.9396,
                "minutes": 89,
                "total_pass": 28,
                "accurate_pass": 22,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 12.67,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 2,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 3,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 65,
                "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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Real Racing Club",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 5.4144,
                  "ballRecovery": 5.38,
                  "intensity_index": 7.9611,
                  "expectedAssists": 0.2271,
                  "kilometersCovered": 10.9005
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.1157863140106201,
                    "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.0695
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.052
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0342
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0326
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0225
                        }
                      ],
                      "others": 0.0399,
                      "total": 1.1158
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08957801759243011,
                    "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.0121
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.01
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.005
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0049
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0039
                        }
                      ],
                      "others": -0.0092,
                      "total": 0.0896
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08301357179880142,
                    "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": "kilometersCovered",
                          "contribution": -0.0044
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0041
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0027
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0027
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0023
                        }
                      ],
                      "others": -0.0018,
                      "total": 0.083
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.17160867154598236,
                    "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.0208
                        },
                        {
                          "name": "cross_accuracy",
                          "contribution": -0.0124
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0063
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0057
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0048
                        }
                      ],
                      "others": 0.0377,
                      "total": 0.1716
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.939564228057861,
                    "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.0312
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0226
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.02
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0166
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0124
                        }
                      ],
                      "others": 0.0298,
                      "total": 6.9396
                    }
                  }
                ],
                "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": {
                "key_pass": 1,
                "expected_assists": 0.088,
                "assists": 0,
                "expected_goals": 0.1685,
                "rating": 6.8145,
                "minutes": 88,
                "total_pass": 28,
                "accurate_pass": 22,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 12.4416,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 2,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 3,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 63,
                "progressive_carries": 2
              },
              "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.0813)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.088,
                "assists": 0,
                "expected_goals": 0.1685,
                "rating": 6.8145,
                "minutes": 88,
                "total_pass": 28,
                "accurate_pass": 22,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 12.4416,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 2,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 3,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 63,
                "progressive_carries": 2,
                "total_shots": 3,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 20.0,
                "shotConversion": 0.0,
                "minutesPct": 99.6,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": -1.0
              },
              "params": {
                "blend_weight": 0.0813,
                "history_matches": 3,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Getafe"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 2.288,
                  "after": 2.3729
                },
                {
                  "stat": "totalCross",
                  "before": 3.6038,
                  "after": 3.6631
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.0,
                  "after": 0.0544
                },
                {
                  "stat": "fouls",
                  "before": 2.288,
                  "after": 2.2375
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0815,
                  "after": 0.0749
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.088,
                "assists": 0,
                "expected_goals": 0.1685,
                "rating": 6.8145,
                "minutes": 88,
                "total_pass": 28,
                "accurate_pass": 22,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 12.4416,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 2,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 3,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 63,
                "progressive_carries": 2,
                "total_shots": 3,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 20.0,
                "shotConversion": 0.0,
                "minutesPct": 99.6,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.088,
                "assists": 0,
                "expected_goals": 0.1685,
                "rating": 6.8145,
                "minutes": 88,
                "total_pass": 28,
                "accurate_pass": 22,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 12.4416,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 3,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 63,
                "progressive_carries": 2,
                "total_shots": 3,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 20.0,
                "shotConversion": 0.0,
                "minutesPct": 99.6,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.395,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Fornals",
                "opponent_faced": "Pablo Fornals",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.6399,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 3.35,
                  "after": 3.0003
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.088,
                "assists": 0,
                "expected_goals": 0.1465,
                "rating": 6.8145,
                "minutes": 88,
                "total_pass": 28,
                "accurate_pass": 22,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 12.4416,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 3,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 63,
                "progressive_carries": 2,
                "total_shots": 3,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 20.0,
                "shotConversion": 0.0,
                "minutesPct": 99.6,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.395,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Fornals",
                "opponent_faced": "Pablo Fornals",
                "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.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1685,
                  "after": 0.1465
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 10, fifa_overall 82.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.088,
                "assists": 0,
                "expected_goals": 0.1465,
                "rating": 6.8145,
                "minutes": 88,
                "total_pass": 28,
                "accurate_pass": 22,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 12.4416,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 3,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 63,
                "progressive_carries": 2,
                "total_shots": 3,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 20.0,
                "shotConversion": 0.0,
                "minutesPct": 99.6,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.395,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Fornals",
                "opponent_faced": "Pablo Fornals",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 0 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.088,
                "assists": 0,
                "expected_goals": 0.1465,
                "rating": 6.8145,
                "minutes": 88,
                "total_pass": 28,
                "accurate_pass": 22,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 12.4416,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 3,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 63,
                "progressive_carries": 2,
                "total_shots": 3,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 20.0,
                "shotConversion": 0.0,
                "minutesPct": 99.6,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.395,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Fornals",
                "opponent_faced": "Pablo Fornals",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 0 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.088,
                "assists": 0,
                "expected_goals": 0.1465,
                "rating": 6.8145,
                "minutes": 88,
                "total_pass": 28,
                "accurate_pass": 22,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 12.4416,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 3,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 63,
                "progressive_carries": 2,
                "total_shots": 3,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 20.0,
                "shotConversion": 0.0,
                "minutesPct": 99.6,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.395,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Fornals",
                "opponent_faced": "Pablo Fornals",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0
              }
            }
          ]
        },
        "Francho Serrano": {
          "player_id": 1000676,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 16,
          "height": 177,
          "market_value": 3100000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0621,
            "assists": 0,
            "expected_goals": 0.04,
            "rating": 6.7243,
            "minutes": 81,
            "total_pass": 36,
            "accurate_pass": 29,
            "duels_won": 2,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 12,
            "accurate_own_half_passes": 11,
            "total_opp_half_passes": 24,
            "accurate_opp_half_passes": 18,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 49,
            "possession_lost": 11.7792,
            "dispossessed": 1.4724,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 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": 0,
            "progressive_carries": 0,
            "total_shots": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 61.1,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "crosses_attempted": 2.2,
            "duel_win_rate": 0.351,
            "pressing_faced": "LOW",
            "matchup_zone": "RWB vs LWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Nelson Deossa",
            "opponent_faced": "Nelson Deossa",
            "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
          },
          "latest_10_games": [
            {
              "match_id": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 76,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0137,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 28,
                "tackles": 1,
                "interceptions": 1,
                "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": 16416300.0,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0184,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 31,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2420,
            "combined_rank_score": 893.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 873.0,
            "sofascore_rating": 6.55,
            "sofascore_appearances": 2.0,
            "fifa_rank": 913.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "projected_match_rating": 6.7243,
            "source_file": "data/player_rankings.csv",
            "player_name": "Francho Serrano",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bastián Ubal",
                  "ranking": 2415
                },
                {
                  "player_name": "Kim Ji-hun",
                  "ranking": 2416
                },
                {
                  "player_name": "Ayoub El Hmidi",
                  "ranking": 2417
                },
                {
                  "player_name": "Tommaso Benvenuti",
                  "ranking": 2418
                },
                {
                  "player_name": "Mukhammadali Giyosov",
                  "ranking": 2419
                }
              ],
              "lower": [
                {
                  "player_name": "Bryan Reyna",
                  "ranking": 2421
                },
                {
                  "player_name": "Ronaldo De Jesus",
                  "ranking": 2422
                },
                {
                  "player_name": "Kingsley Sokari",
                  "ranking": 2423
                },
                {
                  "player_name": "Muhammadayub Omonov",
                  "ranking": 2424
                },
                {
                  "player_name": "Ángel Mena",
                  "ranking": 2425
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.393,
          "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.393,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9816,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 165.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.12
            },
            "rationale": "XGBoost regressor (M_service) evaluated 2 historical appearances across 5 target models; FBref 2026-2027 prior blended (La Liga, Getafe, rel: 0.12, 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.0633,
                "assists": 0,
                "expected_goals": 0.0468,
                "rating": 6.8503,
                "minutes": 83,
                "total_pass": 36,
                "accurate_pass": 30,
                "duels_won": 2,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 12.0,
                "dispossessed": 1.5,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 2,
                "tackles_won": 0,
                "tackles": 2,
                "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": 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-08-31",
                    "opponent": "Osasuna",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 4.037,
                  "ballRecovery": 3.8378,
                  "intensity_index": 7.061,
                  "expectedAssists": 0.0159,
                  "kilometersCovered": 9.9781
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.8301478624343872,
                    "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.0571
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0522
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.051
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.039
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0373
                        }
                      ],
                      "others": -0.0848,
                      "total": 0.8301
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06327613443136215,
                    "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_p90",
                          "contribution": -0.0146
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0095
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0079
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.004
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0037
                        }
                      ],
                      "others": -0.0089,
                      "total": 0.0633
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.0740637555718422,
                    "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.0048
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0039
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0032
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0027
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0025
                        }
                      ],
                      "others": -0.0172,
                      "total": 0.0741
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04682811722159386,
                    "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.0293
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0148
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0042
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0039
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0037
                        }
                      ],
                      "others": -0.0144,
                      "total": 0.0468
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.850290775299072,
                    "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.0275
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0227
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0191
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0173
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0168
                        }
                      ],
                      "others": 0.0333,
                      "total": 6.8503
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9816, quality 0.439)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0621,
                "assists": 0,
                "expected_goals": 0.046,
                "rating": 6.7243,
                "minutes": 81,
                "total_pass": 36,
                "accurate_pass": 29,
                "duels_won": 2,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 11.7792,
                "dispossessed": 1.4724,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 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": 0,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 3100000,
                "quality_factor": 0.4387,
                "boost_factor": 0.9816
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0557)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0621,
                "assists": 0,
                "expected_goals": 0.046,
                "rating": 6.7243,
                "minutes": 81,
                "total_pass": 36,
                "accurate_pass": 29,
                "duels_won": 2,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 11.7792,
                "dispossessed": 1.4724,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 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": 0,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 61.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0557,
                "history_matches": 2,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Getafe"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.1548
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.031
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.031
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.031
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.4724,
                  "after": 1.4832
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0621,
                "assists": 0,
                "expected_goals": 0.046,
                "rating": 6.7243,
                "minutes": 81,
                "total_pass": 36,
                "accurate_pass": 29,
                "duels_won": 2,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 11.7792,
                "dispossessed": 1.4724,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 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": 0,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 61.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0621,
                "assists": 0,
                "expected_goals": 0.046,
                "rating": 6.7243,
                "minutes": 81,
                "total_pass": 36,
                "accurate_pass": 29,
                "duels_won": 2,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 11.7792,
                "dispossessed": 1.4724,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 61.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.351,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Nelson Deossa",
                "opponent_faced": "Nelson Deossa",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 0.0,
                  "after": 0.9
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0621,
                "assists": 0,
                "expected_goals": 0.04,
                "rating": 6.7243,
                "minutes": 81,
                "total_pass": 36,
                "accurate_pass": 29,
                "duels_won": 2,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 11.7792,
                "dispossessed": 1.4724,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 61.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.351,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Nelson Deossa",
                "opponent_faced": "Nelson Deossa",
                "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.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.046,
                  "after": 0.04
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 11, fifa_overall 79.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0621,
                "assists": 0,
                "expected_goals": 0.04,
                "rating": 6.7243,
                "minutes": 81,
                "total_pass": 36,
                "accurate_pass": 29,
                "duels_won": 2,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 11.7792,
                "dispossessed": 1.4724,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 61.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.351,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Nelson Deossa",
                "opponent_faced": "Nelson Deossa",
                "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": 11,
                "squad_role": "starter",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 0 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0621,
                "assists": 0,
                "expected_goals": 0.04,
                "rating": 6.7243,
                "minutes": 81,
                "total_pass": 36,
                "accurate_pass": 29,
                "duels_won": 2,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 11.7792,
                "dispossessed": 1.4724,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 61.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.351,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Nelson Deossa",
                "opponent_faced": "Nelson Deossa",
                "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": {
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 0 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0621,
                "assists": 0,
                "expected_goals": 0.04,
                "rating": 6.7243,
                "minutes": 81,
                "total_pass": 36,
                "accurate_pass": 29,
                "duels_won": 2,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 11.7792,
                "dispossessed": 1.4724,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 61.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.351,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Nelson Deossa",
                "opponent_faced": "Nelson Deossa",
                "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": {
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0
              }
            }
          ]
        },
        "Christantus Uche": {
          "player_id": 1884145,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 8,
          "height": 190,
          "market_value": 13200000,
          "stats": {
            "expected_goals": 0.1595,
            "goal_rate": 0.17,
            "goals": 0,
            "total_shots": 3,
            "shots_on_target": 2,
            "expected_assists": 0.098,
            "duels_won": 4,
            "aerial_won": 2,
            "rating": 7.0,
            "minutes": 90,
            "total_pass": 30,
            "accurate_pass": 22,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 12,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 44,
            "possession_lost": 8.9,
            "dispossessed": 1.2,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 6,
            "won_contest": 3,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 2,
            "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.208,
            "offsides": 1,
            "ball_carries": 21,
            "total_progression": 53,
            "progressive_carries": 5,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.199,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Natan, Valentín Gómez",
            "opponent_faced": "Natan, Valentín Gómez",
            "antagonist_source": "attacking_duel",
            "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": 3346,
            "combined_rank_score": 1296.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 199.0,
            "sofascore_rating": 7.2,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2393.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "projected_match_rating": 7.0,
            "source_file": "data/player_rankings.csv",
            "player_name": "Christantus Uche",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Musa Barrow",
                  "ranking": 3341
                },
                {
                  "player_name": "Mailson",
                  "ranking": 3342
                },
                {
                  "player_name": "Lautaro Blanco",
                  "ranking": 3343
                },
                {
                  "player_name": "Mourad Batna",
                  "ranking": 3344
                },
                {
                  "player_name": "Musab Al Juwair",
                  "ranking": 3345
                }
              ],
              "lower": [
                {
                  "player_name": "Yerry Mina",
                  "ranking": 3347
                },
                {
                  "player_name": "Ángel Correa",
                  "ranking": 3348
                },
                {
                  "player_name": "Patrik Hrošovský",
                  "ranking": 3349
                },
                {
                  "player_name": "Aníbal Moreno",
                  "ranking": 3350
                },
                {
                  "player_name": "Morato",
                  "ranking": 3351
                }
              ]
            }
          },
          "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"
            ],
            "market_value_adjustment": 0.5593,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€13,200,000) applied for position F (quality factor 0.56)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position F (quality 0.56)",
              "stats": {
                "expected_goals": 0.273,
                "goal_rate": 0.17,
                "goals": 0,
                "total_shots": 3,
                "shots_on_target": 2,
                "expected_assists": 0.098,
                "duels_won": 4,
                "aerial_won": 2,
                "rating": 7.0,
                "minutes": 90,
                "total_pass": 30,
                "accurate_pass": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 44,
                "possession_lost": 8.9,
                "dispossessed": 1.2,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "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.208,
                "offsides": 1,
                "ball_carries": 21,
                "total_progression": 53,
                "progressive_carries": 5
              },
              "params": {
                "market_value_eur": 13200000,
                "quality_factor": 0.5593
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.273,
                "goal_rate": 0.17,
                "goals": 0,
                "total_shots": 3,
                "shots_on_target": 2,
                "expected_assists": 0.098,
                "duels_won": 4,
                "aerial_won": 2,
                "rating": 7.0,
                "minutes": 90,
                "total_pass": 30,
                "accurate_pass": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 44,
                "possession_lost": 8.9,
                "dispossessed": 1.2,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "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.208,
                "offsides": 1,
                "ball_carries": 21,
                "total_progression": 53,
                "progressive_carries": 5
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.1835,
                "goal_rate": 0.17,
                "goals": 0,
                "total_shots": 3,
                "shots_on_target": 2,
                "expected_assists": 0.098,
                "duels_won": 4,
                "aerial_won": 2,
                "rating": 7.0,
                "minutes": 90,
                "total_pass": 30,
                "accurate_pass": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 44,
                "possession_lost": 8.9,
                "dispossessed": 1.2,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "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.208,
                "offsides": 1,
                "ball_carries": 21,
                "total_progression": 53,
                "progressive_carries": 5,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.199,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Valentín Gómez",
                "opponent_faced": "Natan, Valentín Gómez",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.7,
                  "after": 2.0
                },
                {
                  "stat": "totalShots",
                  "before": 2.7,
                  "after": 2.5
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.273,
                  "after": 0.1835
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "expected_goals": 0.1595,
                "goal_rate": 0.17,
                "goals": 0,
                "total_shots": 3,
                "shots_on_target": 2,
                "expected_assists": 0.098,
                "duels_won": 4,
                "aerial_won": 2,
                "rating": 7.0,
                "minutes": 90,
                "total_pass": 30,
                "accurate_pass": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 44,
                "possession_lost": 8.9,
                "dispossessed": 1.2,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "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.208,
                "offsides": 1,
                "ball_carries": 21,
                "total_progression": 53,
                "progressive_carries": 5,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.199,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Valentín Gómez",
                "opponent_faced": "Natan, Valentín Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1835,
                  "after": 0.1595
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 1, fifa_overall 75.0)",
              "stats": {
                "expected_goals": 0.1595,
                "goal_rate": 0.17,
                "goals": 0,
                "total_shots": 3,
                "shots_on_target": 2,
                "expected_assists": 0.098,
                "duels_won": 4,
                "aerial_won": 2,
                "rating": 7.0,
                "minutes": 90,
                "total_pass": 30,
                "accurate_pass": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 44,
                "possession_lost": 8.9,
                "dispossessed": 1.2,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "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.208,
                "offsides": 1,
                "ball_carries": 21,
                "total_progression": 53,
                "progressive_carries": 5,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.199,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Valentín Gómez",
                "opponent_faced": "Natan, Valentín Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 0 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.1595,
                "goal_rate": 0.17,
                "goals": 0,
                "total_shots": 3,
                "shots_on_target": 2,
                "expected_assists": 0.098,
                "duels_won": 4,
                "aerial_won": 2,
                "rating": 7.0,
                "minutes": 90,
                "total_pass": 30,
                "accurate_pass": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 44,
                "possession_lost": 8.9,
                "dispossessed": 1.2,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "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.208,
                "offsides": 1,
                "ball_carries": 21,
                "total_progression": 53,
                "progressive_carries": 5,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.199,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Valentín Gómez",
                "opponent_faced": "Natan, Valentín Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 0 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.1595,
                "goal_rate": 0.17,
                "goals": 0,
                "total_shots": 3,
                "shots_on_target": 2,
                "expected_assists": 0.098,
                "duels_won": 4,
                "aerial_won": 2,
                "rating": 7.0,
                "minutes": 90,
                "total_pass": 30,
                "accurate_pass": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 44,
                "possession_lost": 8.9,
                "dispossessed": 1.2,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "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.208,
                "offsides": 1,
                "ball_carries": 21,
                "total_progression": 53,
                "progressive_carries": 5,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.199,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Valentín Gómez",
                "opponent_faced": "Natan, Valentín Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0
              }
            }
          ]
        },
        "Martín Satriano": {
          "player_id": 973536,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 187,
          "market_value": 10600000,
          "stats": {
            "expected_goals": 0.2671,
            "goal_rate": 0.4152,
            "goals": 0,
            "shots_on_target": 1,
            "expected_assists": 0.0399,
            "key_pass": 1,
            "rating": 6.9387,
            "minutes": 83,
            "total_pass": 18,
            "accurate_pass": 13,
            "duels_won": 5,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 7,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 36,
            "possession_lost": 12.1061,
            "dispossessed": 2.0177,
            "duels_lost": 8,
            "aerial_lost": 3,
            "total_contest": 3,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 2,
            "assists": 0,
            "shots_off_target": 1,
            "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": 9,
            "total_progression": 29,
            "progressive_carries": 1,
            "total_shots": 2,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 16.7,
            "shotConversion": 0.0,
            "minutesPct": 91.1,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.0,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.376,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
            "numerical_situation": "1v1",
            "opponent_defenders": "Natan",
            "opponent_faced": "Natan",
            "antagonist_source": "attacking_duel",
            "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": 16416326.0,
              "match_date": "2026-09-13 16:30: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": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Getafe",
              "opponent": "Deportivo",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 73,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.2666,
                "expected_assists": 0.0048,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 9,
                "duels_won": 3,
                "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": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 86,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.2807,
                "expected_assists": 0.0398,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 25,
                "accurate_pass": 18,
                "tackles": 1,
                "clearances": 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": 16416300.0,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 89,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.0667,
                "expected_assists": 0.0053,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 11,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 8,
                "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": 3117,
            "combined_rank_score": 1079.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 583.0,
            "sofascore_rating": 6.7944,
            "sofascore_appearances": 18.0,
            "fifa_rank": 1576.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "projected_match_rating": 6.9387,
            "source_file": "data/player_rankings.csv",
            "player_name": "Martín Satriano",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Tsuyoshi Watanabe",
                  "ranking": 3112
                },
                {
                  "player_name": "Arnau Martínez",
                  "ranking": 3113
                },
                {
                  "player_name": "Ayase Ueda",
                  "ranking": 3114
                },
                {
                  "player_name": "Mika Godts",
                  "ranking": 3115
                },
                {
                  "player_name": "Youri Baas",
                  "ranking": 3116
                }
              ],
              "lower": [
                {
                  "player_name": "Marcos Leonardo",
                  "ranking": 3118
                },
                {
                  "player_name": "Chidera Ejuke",
                  "ranking": 3119
                },
                {
                  "player_name": "Adrián Martínez",
                  "ranking": 3120
                },
                {
                  "player_name": "Emile Smith Rowe",
                  "ranking": 3121
                },
                {
                  "player_name": "Santiago Giménez",
                  "ranking": 3122
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.465,
          "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.465,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0088,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 246.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.2,
              "shots_on_target_pct": 16.7,
              "prior_reliability": 0.18
            },
            "rationale": "XGBoost regressor (F_service) evaluated 3 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Getafe, rel: 0.18, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.3267,
                "goal_rate": 0.4441,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0395,
                "key_pass": 1,
                "rating": 6.8778,
                "minutes": 83,
                "total_pass": 18,
                "accurate_pass": 13,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 12.0,
                "dispossessed": 2.0,
                "duels_lost": 8,
                "aerial_lost": 3,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 2,
                "assists": 0,
                "shots_off_target": 1,
                "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": 9,
                "total_progression": 29,
                "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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Osasuna",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Real Racing Club",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.3887,
                  "totalShots": 2.7191,
                  "minutesPlayed": 81.7891,
                  "touches": 34.7823,
                  "dribbleValueNormalized": 0.2513
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.32665470242500305,
                    "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.0542
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0459
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0223
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0209
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0177
                        }
                      ],
                      "others": -0.0328,
                      "total": 0.3267
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.4440862536430359,
                    "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.0713
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0497
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0262
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0272
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0197
                        }
                      ],
                      "others": 0.0471,
                      "total": 0.4441
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.7494022250175476,
                    "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.0477
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0507
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0199
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0187
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0165
                        }
                      ],
                      "others": 0.0028,
                      "total": 0.7494
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.039524756371974945,
                    "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": "duelLost",
                          "contribution": -0.0082
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0057
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0052
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0045
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.003,
                      "total": 0.0395
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7874433398246765,
                    "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.1246
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0367
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.031
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0273
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0217
                        }
                      ],
                      "others": -0.0014,
                      "total": 0.7874
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.8778276443481445,
                    "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": "totalShots",
                          "contribution": 0.0803
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0544
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0535
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0424
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0339
                        }
                      ],
                      "others": 0.0745,
                      "total": 6.8778
                    }
                  }
                ],
                "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.0088, quality 0.529)",
              "stats": {
                "expected_goals": 0.3295,
                "goal_rate": 0.448,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0399,
                "key_pass": 1,
                "rating": 6.9387,
                "minutes": 83,
                "total_pass": 18,
                "accurate_pass": 13,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 36,
                "possession_lost": 12.1061,
                "dispossessed": 2.0177,
                "duels_lost": 8,
                "aerial_lost": 3,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 2,
                "assists": 0,
                "shots_off_target": 1,
                "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": 9,
                "total_progression": 29,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 10600000,
                "quality_factor": 0.5295,
                "boost_factor": 1.0088
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0731)",
              "stats": {
                "expected_goals": 0.3295,
                "goal_rate": 0.4152,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0399,
                "key_pass": 1,
                "rating": 6.9387,
                "minutes": 83,
                "total_pass": 18,
                "accurate_pass": 13,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 36,
                "possession_lost": 12.1061,
                "dispossessed": 2.0177,
                "duels_lost": 8,
                "aerial_lost": 3,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 2,
                "assists": 0,
                "shots_off_target": 1,
                "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": 9,
                "total_progression": 29,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 91.1,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": -0.37
              },
              "params": {
                "blend_weight": 0.0731,
                "history_matches": 3,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Getafe"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 2.0177,
                  "after": 2.0868
                },
                {
                  "stat": "fouls",
                  "before": 1.0088,
                  "after": 1.0434
                },
                {
                  "stat": "goals",
                  "before": 0.448,
                  "after": 0.4152
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.756,
                  "after": 0.7278
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "totalOffside",
                  "before": 0.0,
                  "after": 0.0271
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3295,
                "goal_rate": 0.4152,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0399,
                "key_pass": 1,
                "rating": 6.9387,
                "minutes": 83,
                "total_pass": 18,
                "accurate_pass": 13,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 36,
                "possession_lost": 12.1061,
                "dispossessed": 2.0177,
                "duels_lost": 8,
                "aerial_lost": 3,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 2,
                "assists": 0,
                "shots_off_target": 1,
                "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": 9,
                "total_progression": 29,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 91.1,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.3072,
                "goal_rate": 0.4152,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0399,
                "key_pass": 1,
                "rating": 6.9387,
                "minutes": 83,
                "total_pass": 18,
                "accurate_pass": 13,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 36,
                "possession_lost": 12.1061,
                "dispossessed": 2.0177,
                "duels_lost": 8,
                "aerial_lost": 3,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 2,
                "assists": 0,
                "shots_off_target": 1,
                "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": 9,
                "total_progression": 29,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 91.1,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.0,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.376,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "numerical_situation": "1v1",
                "opponent_defenders": "Natan",
                "opponent_faced": "Natan",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true
              },
              "changes": [
                {
                  "stat": "expectedGoals",
                  "before": 0.3295,
                  "after": 0.3072
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "expected_goals": 0.2671,
                "goal_rate": 0.4152,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0399,
                "key_pass": 1,
                "rating": 6.9387,
                "minutes": 83,
                "total_pass": 18,
                "accurate_pass": 13,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 36,
                "possession_lost": 12.1061,
                "dispossessed": 2.0177,
                "duels_lost": 8,
                "aerial_lost": 3,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 2,
                "assists": 0,
                "shots_off_target": 1,
                "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": 9,
                "total_progression": 29,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 91.1,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.0,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.376,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "numerical_situation": "1v1",
                "opponent_defenders": "Natan",
                "opponent_faced": "Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3072,
                  "after": 0.2671
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 3, fifa_overall 77.0)",
              "stats": {
                "expected_goals": 0.2671,
                "goal_rate": 0.4152,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0399,
                "key_pass": 1,
                "rating": 6.9387,
                "minutes": 83,
                "total_pass": 18,
                "accurate_pass": 13,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 36,
                "possession_lost": 12.1061,
                "dispossessed": 2.0177,
                "duels_lost": 8,
                "aerial_lost": 3,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 2,
                "assists": 0,
                "shots_off_target": 1,
                "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": 9,
                "total_progression": 29,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 91.1,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.0,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.376,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "numerical_situation": "1v1",
                "opponent_defenders": "Natan",
                "opponent_faced": "Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 0 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.2671,
                "goal_rate": 0.4152,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0399,
                "key_pass": 1,
                "rating": 6.9387,
                "minutes": 83,
                "total_pass": 18,
                "accurate_pass": 13,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 36,
                "possession_lost": 12.1061,
                "dispossessed": 2.0177,
                "duels_lost": 8,
                "aerial_lost": 3,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 2,
                "assists": 0,
                "shots_off_target": 1,
                "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": 9,
                "total_progression": 29,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 91.1,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.0,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.376,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "numerical_situation": "1v1",
                "opponent_defenders": "Natan",
                "opponent_faced": "Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 0 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.2671,
                "goal_rate": 0.4152,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0399,
                "key_pass": 1,
                "rating": 6.9387,
                "minutes": 83,
                "total_pass": 18,
                "accurate_pass": 13,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 36,
                "possession_lost": 12.1061,
                "dispossessed": 2.0177,
                "duels_lost": 8,
                "aerial_lost": 3,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 2,
                "assists": 0,
                "shots_off_target": 1,
                "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": 9,
                "total_progression": 29,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 91.1,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.0,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.376,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "numerical_situation": "1v1",
                "opponent_defenders": "Natan",
                "opponent_faced": "Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0
              }
            }
          ]
        },
        "Enes Ünal": {
          "player_id": 336655,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 19,
          "height": 185,
          "market_value": 6800000,
          "stats": {
            "expected_goals": 0.2138,
            "goal_rate": 0.2876,
            "goals": 0,
            "shots_on_target": 1,
            "expected_assists": 0.0329,
            "key_pass": 1,
            "rating": 6.741,
            "minutes": 90,
            "total_pass": 15,
            "accurate_pass": 8,
            "duels_won": 6,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 33,
            "possession_lost": 14.262,
            "dispossessed": 1.6621,
            "duels_lost": 7,
            "aerial_lost": 2,
            "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": 2,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 5,
            "total_progression": 5,
            "progressive_carries": 1,
            "total_shots": 2,
            "yellowCards": 0.4,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 25.0,
            "shotConversion": 0.25,
            "minutesPct": 83.3,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.347,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
            "numerical_situation": "1v1",
            "opponent_defenders": "Natan",
            "opponent_faced": "Natan",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30: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": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Getafe",
              "opponent": "Deportivo",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.1,
                "expected_assists": 0.0149,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 10,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 5,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assists": 0,
                "expected_assists": 0.0286,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 12,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "aerial_won": 2,
                "duels_won": 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": 16416300.0,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.965,
                "expected_assists": 0.0057,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 8,
                "tackles": 3,
                "tackles_won": 3,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 3539,
            "combined_rank_score": 1506.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2191.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "projected_match_rating": 6.741,
            "source_file": "data/player_rankings.csv",
            "player_name": "Enes Ünal",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Hugo Álvarez",
                  "ranking": 3534
                },
                {
                  "player_name": "Israel Reyes",
                  "ranking": 3535
                },
                {
                  "player_name": "Rocco Reitz",
                  "ranking": 3536
                },
                {
                  "player_name": "Chrislain Matsima",
                  "ranking": 3537
                },
                {
                  "player_name": "Yan Couto",
                  "ranking": 3538
                }
              ],
              "lower": [
                {
                  "player_name": "Issa Diop",
                  "ranking": 3540
                },
                {
                  "player_name": "Senne Lynen",
                  "ranking": 3541
                },
                {
                  "player_name": "Sergio Camello",
                  "ranking": 3542
                },
                {
                  "player_name": "Mio Backhaus",
                  "ranking": 3543
                },
                {
                  "player_name": "Jindřich Staněk",
                  "ranking": 3544
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.463,
          "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.463,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9953,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 225.0,
              "goals_per90": 0.4,
              "assists_per90": 0.0,
              "shots_per90": 1.6,
              "shots_on_target_pct": 25.0,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (F_service) evaluated 3 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Getafe, rel: 0.17, gls/90: 0.4, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.2776,
                "goal_rate": 0.2808,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0331,
                "key_pass": 1,
                "rating": 6.7731,
                "minutes": 90,
                "total_pass": 15,
                "accurate_pass": 8,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 14.33,
                "dispossessed": 1.67,
                "duels_lost": 7,
                "aerial_lost": 2,
                "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": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 5,
                "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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.2809,
                  "totalShots": 1.2313,
                  "minutesPlayed": 90.0,
                  "touches": 32.9893,
                  "dribbleValueNormalized": 0.1152
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.2775540351867676,
                    "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.0608
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0374
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0366
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0228
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.017
                        }
                      ],
                      "others": -0.0539,
                      "total": 0.2776
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.2807559669017792,
                    "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.0675
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.034
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0256
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0281
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0194
                        }
                      ],
                      "others": -0.0363,
                      "total": 0.2808
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6639025211334229,
                    "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.0483
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0516
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0408
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0399
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0256
                        }
                      ],
                      "others": -0.0442,
                      "total": 0.6639
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03309348225593567,
                    "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.0056
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0047
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0037
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0037
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0113,
                      "total": 0.0331
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.8225053548812866,
                    "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.1291
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0633
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0459
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0324
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.025
                        }
                      ],
                      "others": 0.0505,
                      "total": 0.8225
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.773123741149902,
                    "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.0586
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0573
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.038
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0371
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0302
                        }
                      ],
                      "others": 0.0133,
                      "total": 6.7731
                    }
                  }
                ],
                "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.9953, quality 0.484)",
              "stats": {
                "expected_goals": 0.2762,
                "goal_rate": 0.2794,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0329,
                "key_pass": 1,
                "rating": 6.741,
                "minutes": 90,
                "total_pass": 15,
                "accurate_pass": 8,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 14.262,
                "dispossessed": 1.6621,
                "duels_lost": 7,
                "aerial_lost": 2,
                "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": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 5,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 6800000,
                "quality_factor": 0.4842,
                "boost_factor": 0.9953
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0677)",
              "stats": {
                "expected_goals": 0.2762,
                "goal_rate": 0.2876,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0329,
                "key_pass": 1,
                "rating": 6.741,
                "minutes": 90,
                "total_pass": 15,
                "accurate_pass": 8,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 14.262,
                "dispossessed": 1.6621,
                "duels_lost": 7,
                "aerial_lost": 2,
                "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": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 5,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.4,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 83.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": -1.2
              },
              "params": {
                "blend_weight": 0.0677,
                "history_matches": 3,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Getafe"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.1354
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.1084
                },
                {
                  "stat": "totalOffside",
                  "before": 0.0,
                  "after": 0.0813
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6608,
                  "after": 0.6431
                },
                {
                  "stat": "goals",
                  "before": 0.2794,
                  "after": 0.2876
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2762,
                "goal_rate": 0.2876,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0329,
                "key_pass": 1,
                "rating": 6.741,
                "minutes": 90,
                "total_pass": 15,
                "accurate_pass": 8,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 14.262,
                "dispossessed": 1.6621,
                "duels_lost": 7,
                "aerial_lost": 2,
                "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": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 5,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.4,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 83.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.2459,
                "goal_rate": 0.2876,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0329,
                "key_pass": 1,
                "rating": 6.741,
                "minutes": 90,
                "total_pass": 15,
                "accurate_pass": 8,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 14.262,
                "dispossessed": 1.6621,
                "duels_lost": 7,
                "aerial_lost": 2,
                "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": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 5,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.4,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 83.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.347,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "numerical_situation": "1v1",
                "opponent_defenders": "Natan",
                "opponent_faced": "Natan",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.6,
                  "after": 2.2
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2762,
                  "after": 0.2459
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "expected_goals": 0.2138,
                "goal_rate": 0.2876,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0329,
                "key_pass": 1,
                "rating": 6.741,
                "minutes": 90,
                "total_pass": 15,
                "accurate_pass": 8,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 14.262,
                "dispossessed": 1.6621,
                "duels_lost": 7,
                "aerial_lost": 2,
                "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": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 5,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.4,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 83.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.347,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "numerical_situation": "1v1",
                "opponent_defenders": "Natan",
                "opponent_faced": "Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2459,
                  "after": 0.2138
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 5, fifa_overall 75.0)",
              "stats": {
                "expected_goals": 0.2138,
                "goal_rate": 0.2876,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0329,
                "key_pass": 1,
                "rating": 6.741,
                "minutes": 90,
                "total_pass": 15,
                "accurate_pass": 8,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 14.262,
                "dispossessed": 1.6621,
                "duels_lost": 7,
                "aerial_lost": 2,
                "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": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 5,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.4,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 83.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.347,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "numerical_situation": "1v1",
                "opponent_defenders": "Natan",
                "opponent_faced": "Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 0 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.2138,
                "goal_rate": 0.2876,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0329,
                "key_pass": 1,
                "rating": 6.741,
                "minutes": 90,
                "total_pass": 15,
                "accurate_pass": 8,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 14.262,
                "dispossessed": 1.6621,
                "duels_lost": 7,
                "aerial_lost": 2,
                "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": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 5,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.4,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 83.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.347,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "numerical_situation": "1v1",
                "opponent_defenders": "Natan",
                "opponent_faced": "Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 0 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.2138,
                "goal_rate": 0.2876,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0329,
                "key_pass": 1,
                "rating": 6.741,
                "minutes": 90,
                "total_pass": 15,
                "accurate_pass": 8,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 14.262,
                "dispossessed": 1.6621,
                "duels_lost": 7,
                "aerial_lost": 2,
                "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": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 5,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.4,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 83.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.347,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
                "numerical_situation": "1v1",
                "opponent_defenders": "Natan",
                "opponent_faced": "Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0
              }
            }
          ]
        }
      },
      "bench_players": {
        "Jiří Letáček": {
          "player_id": 826047,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 1,
          "height": 196,
          "market_value": 1900000,
          "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": 4,
            "projected_substitution_expected_count": 3.079,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 69.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 5396,
            "combined_rank_score": 3586.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 6955.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jiří Letáček",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mbaye Diagne",
                  "ranking": 5391
                },
                {
                  "player_name": "Cengiz Ünder",
                  "ranking": 5392
                },
                {
                  "player_name": "Christopher Opéri",
                  "ranking": 5393
                },
                {
                  "player_name": "Levent Mercan",
                  "ranking": 5394
                },
                {
                  "player_name": "Simon Eriksson",
                  "ranking": 5395
                }
              ],
              "lower": [
                {
                  "player_name": "Emin Bayram",
                  "ranking": 5397
                },
                {
                  "player_name": "Anthony Musaba",
                  "ranking": 5398
                },
                {
                  "player_name": "Archie Brown",
                  "ranking": 5399
                },
                {
                  "player_name": "Gift Orban",
                  "ranking": 5400
                },
                {
                  "player_name": "Semih Kılıçsoy",
                  "ranking": 5401
                }
              ]
            }
          },
          "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": "Getafe",
              "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 (€1,900,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": 1900000,
                "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": "Getafe"
              }
            },
            {
              "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
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 14, fifa_overall 69.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": 4,
                "projected_substitution_expected_count": 3.079,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 69.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "fifa_overall": 69.0
              }
            }
          ]
        },
        "Sebastián Boselli": {
          "player_id": 1392092,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 15,
          "height": 183,
          "market_value": 1500000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "rating": 5.7763,
            "minutes": 11,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 0,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 0,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "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": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 5.9,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.602,
            "bench_expected_minutes": 10.51,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 3.079,
            "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": 74.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30: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": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Getafe",
              "opponent": "Deportivo",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 1,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300.0,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Getafe",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 12,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 1,
                "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": 3818,
            "combined_rank_score": 1819.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 721.0,
            "sofascore_rating": 6.68,
            "sofascore_appearances": 11.0,
            "fifa_rank": 2917.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "projected_match_rating": 5.7763,
            "source_file": "data/player_rankings.csv",
            "player_name": "Sebastián Boselli",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "David Møller Wolfe",
                  "ranking": 3813
                },
                {
                  "player_name": "Sebastian Berhalter",
                  "ranking": 3814
                },
                {
                  "player_name": "Sheraldo Becker",
                  "ranking": 3815
                },
                {
                  "player_name": "Hamza Igamane",
                  "ranking": 3816
                },
                {
                  "player_name": "Ciro Immobile",
                  "ranking": 3817
                }
              ],
              "lower": [
                {
                  "player_name": "Paul Pogba",
                  "ranking": 3819
                },
                {
                  "player_name": "Geoffrey Kondogbia",
                  "ranking": 3820
                },
                {
                  "player_name": "Mikey Moore",
                  "ranking": 3821
                },
                {
                  "player_name": "Laurent Abergel",
                  "ranking": 3822
                },
                {
                  "player_name": "Zeki Amdouni",
                  "ranking": 3823
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.377,
          "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.377,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 10.51,
            "bench_appearance_prob": 0.602,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 8.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0133
            },
            "rationale": "Bench projection scaled from XGBoost D_service (2 historical appearances) to 10.5 expected mins (appearance prob 0.60); FBref playing time empirical prior: 2.0 sub appearances, 8.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": 0,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 5.8868,
                "minutes": 6,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "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": 0,
                "total_progression": 0,
                "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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": null
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Real Racing Club",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "accuratePass": 0.0,
                  "touches_p90": 20.6757,
                  "possessionLostCtrl": 0.9189,
                  "totalClearance": 0.4595,
                  "aerialWon": 0.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.5814208388328552,
                    "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.2559
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0211
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0162
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0146
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0131
                        }
                      ],
                      "others": -0.0085,
                      "total": 0.5814
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.8345515727996826,
                    "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": "totalProgression",
                          "contribution": -0.168
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.065
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0563
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0423
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0399
                        }
                      ],
                      "others": -0.1492,
                      "total": 0.8346
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.37970679998397827,
                    "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.1583
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.1055
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0526
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0371
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0323
                        }
                      ],
                      "others": -0.102,
                      "total": 0.3797
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.9961413741111755,
                    "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.8646
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1379
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.1123
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0638
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0624
                        }
                      ],
                      "others": -0.2909,
                      "total": 0.9961
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7085610628128052,
                    "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.3243
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0488
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0303
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0278
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0241
                        }
                      ],
                      "others": -0.0782,
                      "total": 0.7086
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 5.886807918548584,
                    "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": "accuratePass",
                          "contribution": -0.3941
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.307
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.2843
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.1315
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.1285
                        }
                      ],
                      "others": -0.1445,
                      "total": 5.8868
                    }
                  }
                ],
                "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": 0,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 5.7763,
                "minutes": 6,
                "total_pass": 39,
                "accurate_pass": 31,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 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.0062)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 5.7763,
                "minutes": 6,
                "total_pass": 39,
                "accurate_pass": 31,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": -11.25
              },
              "params": {
                "blend_weight": 0.0062,
                "history_matches": 2,
                "prior_reliability": 0.0133,
                "competition": "La Liga",
                "squad": "Getafe"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 10.5 expected minutes (appearance prob 0.60)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 5.7763,
                "minutes": 11,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 10.51
              },
              "params": {
                "expected_minutes": 10.51,
                "appearance_probability": 0.602
              }
            },
            {
              "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": 5.7763,
                "minutes": 11,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 10.51
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 5.7763,
                "minutes": 11,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 10.51,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 17, fifa_overall 74.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 5.7763,
                "minutes": 11,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 10.51,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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": 74.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Djené": {
          "player_id": 307702,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 2,
          "height": 178,
          "market_value": 1500000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "rating": 6.1991,
            "minutes": 14,
            "total_pass": 6,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 7,
            "possession_lost": 1.1349,
            "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.0,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 4,
            "progressive_carries": 0,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.6897,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 96.3,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.217,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 3.079,
            "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": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30: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": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Getafe",
              "opponent": "Deportivo",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assists": 0,
                "expected_assists": 0.0008,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 18,
                "interceptions": 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": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assists": 0,
                "expected_assists": 0.0076,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 44,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300.0,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_assists": 0.0057,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 34,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 3,
                "duels_won": 3,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2308,
            "combined_rank_score": 841.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 842.0,
            "sofascore_rating": 6.5824,
            "sofascore_appearances": 34.0,
            "fifa_rank": 841.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "projected_match_rating": 6.1991,
            "source_file": "data/player_rankings.csv",
            "player_name": "Djené",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Václav Černý",
                  "ranking": 2303
                },
                {
                  "player_name": "Christian Burgess",
                  "ranking": 2304
                },
                {
                  "player_name": "Sebastián Villa",
                  "ranking": 2305
                },
                {
                  "player_name": "Hidemasa Morita",
                  "ranking": 2306
                },
                {
                  "player_name": "Bryan Heynen",
                  "ranking": 2307
                }
              ],
              "lower": [
                {
                  "player_name": "Kevin Mac Allister",
                  "ranking": 2309
                },
                {
                  "player_name": "Bae Hyun-seo",
                  "ranking": 2310
                },
                {
                  "player_name": "Hervé Koffi",
                  "ranking": 2311
                },
                {
                  "player_name": "Ifeanyi Eze",
                  "ranking": 2312
                },
                {
                  "player_name": "Jack Harrison",
                  "ranking": 2313
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.466,
          "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.466,
            "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": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.1933
            },
            "rationale": "Bench projection scaled from XGBoost D_service (3 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": 2,
                "aerial_won": 1,
                "rating": 6.3176,
                "minutes": 90,
                "total_pass": 39,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 9,
                "accurate_long_balls": 3,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 7.67,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 7,
                "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": 15,
                "total_progression": 25,
                "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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "accuratePass": 31.0845,
                  "touches_p90": 43.7026,
                  "possessionLostCtrl": 7.6113,
                  "totalClearance": 1.5034,
                  "aerialWon": 0.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8241972923278809,
                    "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.1814
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0853
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0257
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0191
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.016
                        }
                      ],
                      "others": 0.0189,
                      "total": 0.8242
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1628944873809814,
                    "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.0694
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0515
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0422
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0402
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0266
                        }
                      ],
                      "others": -0.0157,
                      "total": 1.1629
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6272096037864685,
                    "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.1132
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0648
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0284
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0281
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0244
                        }
                      ],
                      "others": -0.0382,
                      "total": 0.6272
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.8305307626724243,
                    "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.5591
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.2968
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1972
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.1449
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1296
                        }
                      ],
                      "others": -0.3877,
                      "total": 1.8305
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.8105652928352356,
                    "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.3234
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0652
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0408
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0269
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0256
                        }
                      ],
                      "others": -0.0008,
                      "total": 0.8106
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.317648410797119,
                    "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": "is_starting_11",
                          "contribution": -0.0759
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0748
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0629
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0452
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.031
                        }
                      ],
                      "others": -0.0553,
                      "total": 6.3176
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.1991,
                "minutes": 88,
                "total_pass": 38,
                "accurate_pass": 31,
                "duels_won": 4,
                "total_long_balls": 9,
                "accurate_long_balls": 3,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 7.526,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 7,
                "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": 14,
                "total_progression": 25,
                "progressive_carries": 0,
                "key_pass": 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.0785)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.1991,
                "minutes": 88,
                "total_pass": 38,
                "accurate_pass": 31,
                "duels_won": 4,
                "total_long_balls": 9,
                "accurate_long_balls": 3,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 7.526,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 7,
                "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": 14,
                "total_progression": 25,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.6897,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 96.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": -0.35
              },
              "params": {
                "blend_weight": 0.0785,
                "history_matches": 3,
                "prior_reliability": 0.1933,
                "competition": "La Liga",
                "squad": "Getafe"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.1354
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.8087,
                  "after": 0.8806
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6154,
                  "after": 0.6483
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0271
                }
              ]
            },
            {
              "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.1991,
                "minutes": 14,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 1.1349,
                "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.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.6897,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 96.3,
                "pointsPerMatch": 1.0,
                "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.1991,
                "minutes": 14,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 1.1349,
                "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.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.6897,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 96.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 16, fifa_overall 79.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 6.1991,
                "minutes": 14,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 1.1349,
                "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.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.6897,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 96.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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": 79.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Nemanja Gudelj": {
          "player_id": 68332,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 187,
          "market_value": 1900000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0078,
            "assists": 0,
            "expected_goals": 0.0052,
            "rating": 6.6185,
            "minutes": 18,
            "total_pass": 4,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 5,
            "possession_lost": 1.3844,
            "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": 0,
            "progressive_carries": 0,
            "total_shots": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 5.6,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.692,
            "bench_expected_minutes": 18.14,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 3.079,
            "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": 78.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30: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": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Getafe",
              "opponent": "Deportivo",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assists": 0,
                "expected_goals": 0.0218,
                "expected_assists": 0.0078,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 30,
                "accurate_pass": 17,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Getafe",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 14,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0213,
                "expected_assists": 0.0144,
                "total_shots": 1,
                "total_pass": 12,
                "accurate_pass": 12,
                "clearances": 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": 1778,
            "combined_rank_score": 964.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1231.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "projected_match_rating": 6.6185,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nemanja Gudelj",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jake Grech",
                  "ranking": 1773
                },
                {
                  "player_name": "Domantas Antanavičius",
                  "ranking": 1774
                },
                {
                  "player_name": "Emil Tsenov",
                  "ranking": 1775
                },
                {
                  "player_name": "Maksim Myakish",
                  "ranking": 1776
                },
                {
                  "player_name": "Jun'ai Byfield",
                  "ranking": 1777
                }
              ],
              "lower": [
                {
                  "player_name": "Jon Guridi",
                  "ranking": 1779
                },
                {
                  "player_name": "Pedro Felipe",
                  "ranking": 1780
                },
                {
                  "player_name": "Nico Guillén",
                  "ranking": 1781
                },
                {
                  "player_name": "Gabriel Pires",
                  "ranking": 1782
                },
                {
                  "player_name": "Yuri",
                  "ranking": 1783
                }
              ]
            }
          },
          "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"
            ],
            "bench_expected_minutes": 18.14,
            "bench_appearance_prob": 0.692,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 15.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0133
            },
            "rationale": "Bench projection scaled from XGBoost M_service (2 historical appearances) to 18.1 expected mins (appearance prob 0.69); FBref playing time empirical prior: 1.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.0396,
                "assists": 0,
                "expected_goals": 0.0302,
                "rating": 6.7451,
                "minutes": 52,
                "total_pass": 21,
                "accurate_pass": 14,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 14,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 7.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 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": 6,
                "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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Osasuna",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "ballRecovery_p90": 0.5405,
                  "ballRecovery": 0.5405,
                  "intensity_index": 2.8681,
                  "expectedAssists": 0.0108,
                  "kilometersCovered": 5.9568
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6694895625114441,
                    "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.1856
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0578
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.042
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0333
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0178
                        }
                      ],
                      "others": -0.0471,
                      "total": 0.6695
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03955630958080292,
                    "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.0179
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.011
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0055
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0046
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0113,
                      "total": 0.0396
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07724694907665253,
                    "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.0071
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0053
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0048
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0036
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0028
                        }
                      ],
                      "others": -0.0076,
                      "total": 0.0772
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.030222397297620773,
                    "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.0274
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0142
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.011
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0068
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0143,
                      "total": 0.0302
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7450971603393555,
                    "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.0604
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0255
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0218
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0154
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0143
                        }
                      ],
                      "others": -0.0087,
                      "total": 6.7451
                    }
                  }
                ],
                "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.0388,
                "assists": 0,
                "expected_goals": 0.0297,
                "rating": 6.6185,
                "minutes": 51,
                "total_pass": 21,
                "accurate_pass": 14,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 14,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 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": 5,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 1900000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0062)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0388,
                "assists": 0,
                "expected_goals": 0.0297,
                "rating": 6.6185,
                "minutes": 51,
                "total_pass": 21,
                "accurate_pass": 14,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 14,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 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": 5,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 6,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0062,
                "history_matches": 2,
                "prior_reliability": 0.0133,
                "competition": "La Liga",
                "squad": "Getafe"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.9812,
                  "after": 1.006
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 18.1 expected minutes (appearance prob 0.69)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0078,
                "assists": 0,
                "expected_goals": 0.006,
                "rating": 6.6185,
                "minutes": 18,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.3844,
                "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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 18.14
              },
              "params": {
                "expected_minutes": 18.14,
                "appearance_probability": 0.692
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0078,
                "assists": 0,
                "expected_goals": 0.006,
                "rating": 6.6185,
                "minutes": 18,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.3844,
                "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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 18.14
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0078,
                "assists": 0,
                "expected_goals": 0.0052,
                "rating": 6.6185,
                "minutes": 18,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.3844,
                "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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 15, fifa_overall 78.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0078,
                "assists": 0,
                "expected_goals": 0.0052,
                "rating": 6.6185,
                "minutes": 18,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.3844,
                "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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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": 78.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Oscar Lopez": {
          "player_id": 1994823,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 30,
          "height": 180,
          "market_value": 220000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0099,
            "assists": 0,
            "expected_goals": 0.0089,
            "rating": 6.4644,
            "minutes": 22,
            "total_pass": 11,
            "accurate_pass": 9,
            "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": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 0,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_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,
            "bench_appearance_probability": 0.499,
            "bench_expected_minutes": 21.97,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 3.079,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 1,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 474,
            "combined_rank_score": 239.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 196.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "projected_match_rating": 6.4644,
            "source_file": "data/player_rankings.csv",
            "player_name": "Oscar Lopez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Anthony Caceres",
                  "ranking": 469
                },
                {
                  "player_name": "James Garner",
                  "ranking": 470
                },
                {
                  "player_name": "Marcus Rashford",
                  "ranking": 471
                },
                {
                  "player_name": "João Cancelo",
                  "ranking": 472
                },
                {
                  "player_name": "Oh-kyu Kim",
                  "ranking": 473
                }
              ],
              "lower": [
                {
                  "player_name": "Eberechi Eze",
                  "ranking": 475
                },
                {
                  "player_name": "Hugo Ekitiké",
                  "ranking": 476
                },
                {
                  "player_name": "Manuel Ángel Castillo",
                  "ranking": 477
                },
                {
                  "player_name": "Willi Orbán",
                  "ranking": 478
                },
                {
                  "player_name": "Kuvondik Ruziev",
                  "ranking": 479
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "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",
              "fbref_season"
            ],
            "bench_expected_minutes": 21.97222218756125,
            "bench_appearance_prob": 0.4987373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection scaled from XGBoost M_service (1 historical appearances) to 22.0 expected mins (appearance prob 0.50); 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.0412,
                "assists": 0,
                "expected_goals": 0.037,
                "rating": 6.5881,
                "minutes": 1,
                "total_pass": 45,
                "accurate_pass": 36,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": null
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "ballRecovery_p90": 0.0,
                  "ballRecovery": 0.0,
                  "intensity_index": 0.039,
                  "expectedAssists": 0.0,
                  "kilometersCovered": 0.13
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.576768159866333,
                    "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.2379
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0604
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0321
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0223
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.022
                        }
                      ],
                      "others": -0.0622,
                      "total": 0.5768
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04120735079050064,
                    "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.013
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0098
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0079
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0072
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0055
                        }
                      ],
                      "others": -0.0241,
                      "total": 0.0412
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.0707632452249527,
                    "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.0051
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0042
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0036
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.002
                        }
                      ],
                      "others": -0.0074,
                      "total": 0.0708
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03702271357178688,
                    "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.0285
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0156
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.008
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.008
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0066
                        }
                      ],
                      "others": -0.021,
                      "total": 0.037
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.5880842208862305,
                    "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.1857
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.1532
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.1223
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0695
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0692
                        }
                      ],
                      "others": -0.1658,
                      "total": 6.5881
                    }
                  }
                ],
                "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.0404,
                "assists": 0,
                "expected_goals": 0.0363,
                "rating": 6.4644,
                "minutes": 1,
                "total_pass": 44,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_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": 220000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0000)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0404,
                "assists": 0,
                "expected_goals": 0.0363,
                "rating": 6.4644,
                "minutes": 1,
                "total_pass": 44,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_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": {
                "blend_weight": 0.0,
                "history_matches": 1,
                "prior_reliability": 0.0,
                "competition": "La Liga",
                "squad": "Getafe"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0099,
                "assists": 0,
                "expected_goals": 0.0089,
                "rating": 6.4644,
                "minutes": 22,
                "total_pass": 11,
                "accurate_pass": 9,
                "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": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_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,
                "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.0099,
                "assists": 0,
                "expected_goals": 0.0089,
                "rating": 6.4644,
                "minutes": 22,
                "total_pass": 11,
                "accurate_pass": 9,
                "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": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_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,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 18, fifa_overall 84.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0099,
                "assists": 0,
                "expected_goals": 0.0089,
                "rating": 6.4644,
                "minutes": 22,
                "total_pass": 11,
                "accurate_pass": 9,
                "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": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_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,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "fifa_overall": 84.0
              }
            }
          ]
        },
        "Borja Mayoral": {
          "player_id": 604954,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 182,
          "market_value": 6300000,
          "stats": {
            "expected_goals": 0.0126,
            "goal_rate": 0.0167,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0029,
            "key_pass": 0,
            "rating": 6.5535,
            "minutes": 13,
            "total_pass": 0,
            "accurate_pass": 0,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 0,
            "possession_lost": 0.2892,
            "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": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 2.2,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.722,
            "bench_expected_minutes": 13.1,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 3.079,
            "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": "away",
              "is_starting_11": 0,
              "team": "Getafe",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 9,
                "rating": 6.4,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 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": 16416300.0,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Getafe",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 1,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3389,
            "combined_rank_score": 1361.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 765.0,
            "sofascore_rating": 6.65,
            "sofascore_appearances": 16.0,
            "fifa_rank": 1957.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "projected_match_rating": 6.5535,
            "source_file": "data/player_rankings.csv",
            "player_name": "Borja Mayoral",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Denis Vavro",
                  "ranking": 3384
                },
                {
                  "player_name": "Phillipp Mwene",
                  "ranking": 3385
                },
                {
                  "player_name": "Jesús Rodriguez",
                  "ranking": 3386
                },
                {
                  "player_name": "Ismael Koné",
                  "ranking": 3387
                },
                {
                  "player_name": "Tomáš Holeš",
                  "ranking": 3388
                }
              ],
              "lower": [
                {
                  "player_name": "Álex Moreno",
                  "ranking": 3390
                },
                {
                  "player_name": "Rico Henry",
                  "ranking": 3391
                },
                {
                  "player_name": "Leo Østigård",
                  "ranking": 3392
                },
                {
                  "player_name": "Guido Carrillo",
                  "ranking": 3393
                },
                {
                  "player_name": "Juanlu Sánchez",
                  "ranking": 3394
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.376,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.376,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.1,
            "bench_appearance_prob": 0.722,
            "market_value_adjustment": 0.9934,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 3.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0067
            },
            "rationale": "Bench projection scaled from XGBoost F_service (2 historical appearances) to 13.1 expected mins (appearance prob 0.72); FBref playing time empirical prior: 2.0 sub appearances, 3.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.1002,
                "goal_rate": 0.1161,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0198,
                "key_pass": 0,
                "rating": 6.5968,
                "minutes": 5,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 3,
                "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": 2,
                "possession_lost": 2.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
              },
              "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": "Osasuna",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Real Racing Club",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": null
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 0.0,
                  "minutesPlayed": 5.3243,
                  "touches": 2.5405,
                  "dribbleValueNormalized": 0.0
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10018515586853027,
                    "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.0596
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0356
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0178
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0155
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0108
                        }
                      ],
                      "others": -0.0578,
                      "total": 0.1002
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11608488857746124,
                    "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.0621
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0503
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0377
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0288
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0223
                        }
                      ],
                      "others": -0.0282,
                      "total": 0.1161
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.47673457860946655,
                    "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.0459
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.041
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0337
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0119
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0796,
                      "total": 0.4767
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.01980220340192318,
                    "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.0121
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0067
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0054
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0038
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0069,
                      "total": 0.0198
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3440074026584625,
                    "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.1833
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0325
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0224
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.021
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0189
                        }
                      ],
                      "others": -0.0608,
                      "total": 0.344
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.596835136413574,
                    "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": "topSpeed",
                          "contribution": 0.1091
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1045
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0623
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0533
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0532
                        }
                      ],
                      "others": 0.0474,
                      "total": 6.5968
                    }
                  }
                ],
                "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.9934, quality 0.478)",
              "stats": {
                "expected_goals": 0.0995,
                "goal_rate": 0.1153,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0197,
                "key_pass": 0,
                "rating": 6.5535,
                "minutes": 5,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 3,
                "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": 2,
                "possession_lost": 1.9869,
                "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
              },
              "params": {
                "market_value_eur": 6300000,
                "quality_factor": 0.4781,
                "boost_factor": 0.9934
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0031)",
              "stats": {
                "expected_goals": 0.0995,
                "goal_rate": 0.1149,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0197,
                "key_pass": 0,
                "rating": 6.5535,
                "minutes": 5,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 3,
                "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": 2,
                "possession_lost": 1.9869,
                "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": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 2.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0031,
                "history_matches": 2,
                "prior_reliability": 0.0067,
                "competition": "La Liga",
                "squad": "Getafe"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0311
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0311
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.1 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0145,
                "goal_rate": 0.0167,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0029,
                "key_pass": 0,
                "rating": 6.5535,
                "minutes": 13,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.2892,
                "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": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 2.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 13.1
              },
              "params": {
                "expected_minutes": 13.1,
                "appearance_probability": 0.722
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0145,
                "goal_rate": 0.0167,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0029,
                "key_pass": 0,
                "rating": 6.5535,
                "minutes": 13,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.2892,
                "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": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 2.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 13.1
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "expected_goals": 0.0126,
                "goal_rate": 0.0167,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0029,
                "key_pass": 0,
                "rating": 6.5535,
                "minutes": 13,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.2892,
                "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": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 2.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 13.1,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 7, fifa_overall 76.0)",
              "stats": {
                "expected_goals": 0.0126,
                "goal_rate": 0.0167,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0029,
                "key_pass": 0,
                "rating": 6.5535,
                "minutes": 13,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.2892,
                "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": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 2.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 13.1,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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": 7,
                "squad_role": "substitute",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Ivan Azón": {
          "player_id": 1000696,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 90,
          "height": 181,
          "market_value": 5200000,
          "stats": {
            "expected_goals": 0.0637,
            "goal_rate": 0.0838,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0063,
            "key_pass": 0,
            "rating": 6.3914,
            "minutes": 25,
            "total_pass": 1,
            "accurate_pass": 0,
            "duels_won": 0,
            "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": 1,
            "possession_lost": 0.8377,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 1,
            "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": 1,
            "progressive_carries": 0,
            "bench_appearance_probability": 0.564,
            "bench_expected_minutes": 25.4,
            "projected_substitution_order": 4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 3.079,
            "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": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 17,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4905,
            "combined_rank_score": 2997.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 5809.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "substitute",
            "projected_match_rating": 6.3914,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ivan Azón",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gabri Martínez",
                  "ranking": 4900
                },
                {
                  "player_name": "Gabriel Silva",
                  "ranking": 4901
                },
                {
                  "player_name": "Óscar Aranda",
                  "ranking": 4902
                },
                {
                  "player_name": "Ryunosuke Sato",
                  "ranking": 4903
                },
                {
                  "player_name": "Santi García",
                  "ranking": 4904
                }
              ],
              "lower": [
                {
                  "player_name": "Diogo Travassos",
                  "ranking": 4906
                },
                {
                  "player_name": "Miha Zajc",
                  "ranking": 4907
                },
                {
                  "player_name": "Rokas Pukštas",
                  "ranking": 4908
                },
                {
                  "player_name": "Alex Dobre",
                  "ranking": 4909
                },
                {
                  "player_name": "David Moses",
                  "ranking": 4910
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.312,
          "history_matches": 1,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.399959715539993,
            "bench_appearance_prob": 0.5636345325245452,
            "market_value_adjustment": 0.9894,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (1 historical appearances) to 25.4 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.2625,
                "goal_rate": 0.3002,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0224,
                "key_pass": 0,
                "rating": 6.4599,
                "minutes": 17,
                "total_pass": 3,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 3.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "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": 4,
                "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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 0.0,
                  "minutesPlayed": 17.0,
                  "touches": 5.0,
                  "dribbleValueNormalized": 0.05
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.26249560713768005,
                    "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.0418
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0411
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0411
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0399
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0397
                        }
                      ],
                      "others": -0.051,
                      "total": 0.2625
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.3001943826675415,
                    "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": "duelLost",
                          "contribution": -0.0538
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0372
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0267
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0248
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0268
                        }
                      ],
                      "others": 0.0208,
                      "total": 0.3002
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5682193636894226,
                    "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.0558
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0507
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0357
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0336
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0114
                        }
                      ],
                      "others": -0.0731,
                      "total": 0.5682
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.022388840094208717,
                    "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.0122
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0062
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0042
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0035
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0031
                        }
                      ],
                      "others": -0.0063,
                      "total": 0.0224
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3406141400337219,
                    "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.1974
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0292
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0271
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0206
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0183
                        }
                      ],
                      "others": -0.0497,
                      "total": 0.3406
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.4599223136901855,
                    "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": "aerial_dominance",
                          "contribution": -0.1454
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0975
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0594
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.053
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0357
                        }
                      ],
                      "others": -0.0529,
                      "total": 6.4599
                    }
                  }
                ],
                "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.9894, quality 0.465)",
              "stats": {
                "expected_goals": 0.2597,
                "goal_rate": 0.297,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0222,
                "key_pass": 0,
                "rating": 6.3914,
                "minutes": 17,
                "total_pass": 3,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 2.9682,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "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": 4,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 5200000,
                "quality_factor": 0.4646,
                "boost_factor": 0.9894
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.4 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0733,
                "goal_rate": 0.0838,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0063,
                "key_pass": 0,
                "rating": 6.3914,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "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": 1,
                "possession_lost": 0.8377,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "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": 1,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 25.4
              },
              "params": {
                "expected_minutes": 25.4,
                "appearance_probability": 0.564
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0733,
                "goal_rate": 0.0838,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0063,
                "key_pass": 0,
                "rating": 6.3914,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "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": 1,
                "possession_lost": 0.8377,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "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": 1,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 25.4
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "expected_goals": 0.0637,
                "goal_rate": 0.0838,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0063,
                "key_pass": 0,
                "rating": 6.3914,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "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": 1,
                "possession_lost": 0.8377,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "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": 1,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 25.4,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0733,
                  "after": 0.0637
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 8, fifa_overall 70.0)",
              "stats": {
                "expected_goals": 0.0637,
                "goal_rate": 0.0838,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0063,
                "key_pass": 0,
                "rating": 6.3914,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "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": 1,
                "possession_lost": 0.8377,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "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": 1,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 25.4,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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": 70.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "substitute",
                "fifa_overall": 70.0
              }
            }
          ]
        }
      },
      "substitutes": {
        "Borja Mayoral": {
          "player_id": 604954,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 182,
          "market_value": 6300000,
          "stats": {
            "expected_goals": 0.0126,
            "goal_rate": 0.0167,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0029,
            "key_pass": 0,
            "rating": 6.5535,
            "minutes": 13,
            "total_pass": 0,
            "accurate_pass": 0,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 0,
            "possession_lost": 0.2892,
            "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": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 2.2,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.722,
            "bench_expected_minutes": 13.1,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 3.079,
            "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": "away",
              "is_starting_11": 0,
              "team": "Getafe",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 9,
                "rating": 6.4,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 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": 16416300.0,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Getafe",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 1,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3389,
            "combined_rank_score": 1361.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 765.0,
            "sofascore_rating": 6.65,
            "sofascore_appearances": 16.0,
            "fifa_rank": 1957.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "projected_match_rating": 6.5535,
            "source_file": "data/player_rankings.csv",
            "player_name": "Borja Mayoral",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Denis Vavro",
                  "ranking": 3384
                },
                {
                  "player_name": "Phillipp Mwene",
                  "ranking": 3385
                },
                {
                  "player_name": "Jesús Rodriguez",
                  "ranking": 3386
                },
                {
                  "player_name": "Ismael Koné",
                  "ranking": 3387
                },
                {
                  "player_name": "Tomáš Holeš",
                  "ranking": 3388
                }
              ],
              "lower": [
                {
                  "player_name": "Álex Moreno",
                  "ranking": 3390
                },
                {
                  "player_name": "Rico Henry",
                  "ranking": 3391
                },
                {
                  "player_name": "Leo Østigård",
                  "ranking": 3392
                },
                {
                  "player_name": "Guido Carrillo",
                  "ranking": 3393
                },
                {
                  "player_name": "Juanlu Sánchez",
                  "ranking": 3394
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.376,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.376,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.1,
            "bench_appearance_prob": 0.722,
            "market_value_adjustment": 0.9934,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 3.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0067
            },
            "rationale": "Bench projection scaled from XGBoost F_service (2 historical appearances) to 13.1 expected mins (appearance prob 0.72); FBref playing time empirical prior: 2.0 sub appearances, 3.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.1002,
                "goal_rate": 0.1161,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0198,
                "key_pass": 0,
                "rating": 6.5968,
                "minutes": 5,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 3,
                "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": 2,
                "possession_lost": 2.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
              },
              "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": "Osasuna",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Real Racing Club",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": null
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 0.0,
                  "minutesPlayed": 5.3243,
                  "touches": 2.5405,
                  "dribbleValueNormalized": 0.0
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10018515586853027,
                    "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.0596
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0356
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0178
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0155
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0108
                        }
                      ],
                      "others": -0.0578,
                      "total": 0.1002
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11608488857746124,
                    "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.0621
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0503
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0377
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0288
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0223
                        }
                      ],
                      "others": -0.0282,
                      "total": 0.1161
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.47673457860946655,
                    "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.0459
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.041
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0337
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0119
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0796,
                      "total": 0.4767
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.01980220340192318,
                    "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.0121
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0067
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0054
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0038
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0069,
                      "total": 0.0198
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3440074026584625,
                    "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.1833
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0325
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0224
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.021
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0189
                        }
                      ],
                      "others": -0.0608,
                      "total": 0.344
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.596835136413574,
                    "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": "topSpeed",
                          "contribution": 0.1091
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1045
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0623
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0533
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0532
                        }
                      ],
                      "others": 0.0474,
                      "total": 6.5968
                    }
                  }
                ],
                "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.9934, quality 0.478)",
              "stats": {
                "expected_goals": 0.0995,
                "goal_rate": 0.1153,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0197,
                "key_pass": 0,
                "rating": 6.5535,
                "minutes": 5,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 3,
                "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": 2,
                "possession_lost": 1.9869,
                "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
              },
              "params": {
                "market_value_eur": 6300000,
                "quality_factor": 0.4781,
                "boost_factor": 0.9934
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0031)",
              "stats": {
                "expected_goals": 0.0995,
                "goal_rate": 0.1149,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0197,
                "key_pass": 0,
                "rating": 6.5535,
                "minutes": 5,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 3,
                "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": 2,
                "possession_lost": 1.9869,
                "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": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 2.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0031,
                "history_matches": 2,
                "prior_reliability": 0.0067,
                "competition": "La Liga",
                "squad": "Getafe"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0311
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0311
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.1 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0145,
                "goal_rate": 0.0167,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0029,
                "key_pass": 0,
                "rating": 6.5535,
                "minutes": 13,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.2892,
                "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": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 2.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 13.1
              },
              "params": {
                "expected_minutes": 13.1,
                "appearance_probability": 0.722
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0145,
                "goal_rate": 0.0167,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0029,
                "key_pass": 0,
                "rating": 6.5535,
                "minutes": 13,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.2892,
                "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": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 2.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 13.1
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "expected_goals": 0.0126,
                "goal_rate": 0.0167,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0029,
                "key_pass": 0,
                "rating": 6.5535,
                "minutes": 13,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.2892,
                "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": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 2.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 13.1,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 7, fifa_overall 76.0)",
              "stats": {
                "expected_goals": 0.0126,
                "goal_rate": 0.0167,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0029,
                "key_pass": 0,
                "rating": 6.5535,
                "minutes": 13,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.2892,
                "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": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 2.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 13.1,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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": 7,
                "squad_role": "substitute",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Nemanja Gudelj": {
          "player_id": 68332,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 187,
          "market_value": 1900000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0078,
            "assists": 0,
            "expected_goals": 0.0052,
            "rating": 6.6185,
            "minutes": 18,
            "total_pass": 4,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 5,
            "possession_lost": 1.3844,
            "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": 0,
            "progressive_carries": 0,
            "total_shots": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 5.6,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.692,
            "bench_expected_minutes": 18.14,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 3.079,
            "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": 78.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30: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": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Getafe",
              "opponent": "Deportivo",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assists": 0,
                "expected_goals": 0.0218,
                "expected_assists": 0.0078,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 30,
                "accurate_pass": 17,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Getafe",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 14,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0213,
                "expected_assists": 0.0144,
                "total_shots": 1,
                "total_pass": 12,
                "accurate_pass": 12,
                "clearances": 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": 1778,
            "combined_rank_score": 964.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1231.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "projected_match_rating": 6.6185,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nemanja Gudelj",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jake Grech",
                  "ranking": 1773
                },
                {
                  "player_name": "Domantas Antanavičius",
                  "ranking": 1774
                },
                {
                  "player_name": "Emil Tsenov",
                  "ranking": 1775
                },
                {
                  "player_name": "Maksim Myakish",
                  "ranking": 1776
                },
                {
                  "player_name": "Jun'ai Byfield",
                  "ranking": 1777
                }
              ],
              "lower": [
                {
                  "player_name": "Jon Guridi",
                  "ranking": 1779
                },
                {
                  "player_name": "Pedro Felipe",
                  "ranking": 1780
                },
                {
                  "player_name": "Nico Guillén",
                  "ranking": 1781
                },
                {
                  "player_name": "Gabriel Pires",
                  "ranking": 1782
                },
                {
                  "player_name": "Yuri",
                  "ranking": 1783
                }
              ]
            }
          },
          "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"
            ],
            "bench_expected_minutes": 18.14,
            "bench_appearance_prob": 0.692,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 15.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0133
            },
            "rationale": "Bench projection scaled from XGBoost M_service (2 historical appearances) to 18.1 expected mins (appearance prob 0.69); FBref playing time empirical prior: 1.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.0396,
                "assists": 0,
                "expected_goals": 0.0302,
                "rating": 6.7451,
                "minutes": 52,
                "total_pass": 21,
                "accurate_pass": 14,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 14,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 7.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 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": 6,
                "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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Osasuna",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "ballRecovery_p90": 0.5405,
                  "ballRecovery": 0.5405,
                  "intensity_index": 2.8681,
                  "expectedAssists": 0.0108,
                  "kilometersCovered": 5.9568
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6694895625114441,
                    "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.1856
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0578
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.042
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0333
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0178
                        }
                      ],
                      "others": -0.0471,
                      "total": 0.6695
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03955630958080292,
                    "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.0179
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.011
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0055
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0046
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0113,
                      "total": 0.0396
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07724694907665253,
                    "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.0071
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0053
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0048
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0036
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0028
                        }
                      ],
                      "others": -0.0076,
                      "total": 0.0772
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.030222397297620773,
                    "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.0274
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0142
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.011
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0068
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0143,
                      "total": 0.0302
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7450971603393555,
                    "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.0604
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0255
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0218
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0154
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0143
                        }
                      ],
                      "others": -0.0087,
                      "total": 6.7451
                    }
                  }
                ],
                "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.0388,
                "assists": 0,
                "expected_goals": 0.0297,
                "rating": 6.6185,
                "minutes": 51,
                "total_pass": 21,
                "accurate_pass": 14,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 14,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 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": 5,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 1900000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0062)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0388,
                "assists": 0,
                "expected_goals": 0.0297,
                "rating": 6.6185,
                "minutes": 51,
                "total_pass": 21,
                "accurate_pass": 14,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 14,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 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": 5,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 6,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0062,
                "history_matches": 2,
                "prior_reliability": 0.0133,
                "competition": "La Liga",
                "squad": "Getafe"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.9812,
                  "after": 1.006
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 18.1 expected minutes (appearance prob 0.69)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0078,
                "assists": 0,
                "expected_goals": 0.006,
                "rating": 6.6185,
                "minutes": 18,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.3844,
                "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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 18.14
              },
              "params": {
                "expected_minutes": 18.14,
                "appearance_probability": 0.692
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0078,
                "assists": 0,
                "expected_goals": 0.006,
                "rating": 6.6185,
                "minutes": 18,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.3844,
                "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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 18.14
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0078,
                "assists": 0,
                "expected_goals": 0.0052,
                "rating": 6.6185,
                "minutes": 18,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.3844,
                "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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 15, fifa_overall 78.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0078,
                "assists": 0,
                "expected_goals": 0.0052,
                "rating": 6.6185,
                "minutes": 18,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.3844,
                "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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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": 78.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Sebastián Boselli": {
          "player_id": 1392092,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 15,
          "height": 183,
          "market_value": 1500000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "rating": 5.7763,
            "minutes": 11,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 0,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 0,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "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": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 5.9,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.602,
            "bench_expected_minutes": 10.51,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 3.079,
            "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": 74.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30: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": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Getafe",
              "opponent": "Deportivo",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 1,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300.0,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Getafe",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 12,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 1,
                "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": 3818,
            "combined_rank_score": 1819.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 721.0,
            "sofascore_rating": 6.68,
            "sofascore_appearances": 11.0,
            "fifa_rank": 2917.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "projected_match_rating": 5.7763,
            "source_file": "data/player_rankings.csv",
            "player_name": "Sebastián Boselli",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "David Møller Wolfe",
                  "ranking": 3813
                },
                {
                  "player_name": "Sebastian Berhalter",
                  "ranking": 3814
                },
                {
                  "player_name": "Sheraldo Becker",
                  "ranking": 3815
                },
                {
                  "player_name": "Hamza Igamane",
                  "ranking": 3816
                },
                {
                  "player_name": "Ciro Immobile",
                  "ranking": 3817
                }
              ],
              "lower": [
                {
                  "player_name": "Paul Pogba",
                  "ranking": 3819
                },
                {
                  "player_name": "Geoffrey Kondogbia",
                  "ranking": 3820
                },
                {
                  "player_name": "Mikey Moore",
                  "ranking": 3821
                },
                {
                  "player_name": "Laurent Abergel",
                  "ranking": 3822
                },
                {
                  "player_name": "Zeki Amdouni",
                  "ranking": 3823
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.377,
          "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.377,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 10.51,
            "bench_appearance_prob": 0.602,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Getafe",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 8.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0133
            },
            "rationale": "Bench projection scaled from XGBoost D_service (2 historical appearances) to 10.5 expected mins (appearance prob 0.60); FBref playing time empirical prior: 2.0 sub appearances, 8.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": 0,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 5.8868,
                "minutes": 6,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "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": 0,
                "total_progression": 0,
                "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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": null
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Real Racing Club",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "accuratePass": 0.0,
                  "touches_p90": 20.6757,
                  "possessionLostCtrl": 0.9189,
                  "totalClearance": 0.4595,
                  "aerialWon": 0.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.5814208388328552,
                    "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.2559
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0211
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0162
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0146
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0131
                        }
                      ],
                      "others": -0.0085,
                      "total": 0.5814
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.8345515727996826,
                    "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": "totalProgression",
                          "contribution": -0.168
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.065
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0563
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0423
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0399
                        }
                      ],
                      "others": -0.1492,
                      "total": 0.8346
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.37970679998397827,
                    "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.1583
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.1055
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0526
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0371
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0323
                        }
                      ],
                      "others": -0.102,
                      "total": 0.3797
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.9961413741111755,
                    "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.8646
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1379
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.1123
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0638
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0624
                        }
                      ],
                      "others": -0.2909,
                      "total": 0.9961
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7085610628128052,
                    "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.3243
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0488
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0303
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0278
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0241
                        }
                      ],
                      "others": -0.0782,
                      "total": 0.7086
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 5.886807918548584,
                    "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": "accuratePass",
                          "contribution": -0.3941
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.307
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.2843
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.1315
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.1285
                        }
                      ],
                      "others": -0.1445,
                      "total": 5.8868
                    }
                  }
                ],
                "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": 0,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 5.7763,
                "minutes": 6,
                "total_pass": 39,
                "accurate_pass": 31,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 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.0062)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 5.7763,
                "minutes": 6,
                "total_pass": 39,
                "accurate_pass": 31,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": -11.25
              },
              "params": {
                "blend_weight": 0.0062,
                "history_matches": 2,
                "prior_reliability": 0.0133,
                "competition": "La Liga",
                "squad": "Getafe"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 10.5 expected minutes (appearance prob 0.60)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 5.7763,
                "minutes": 11,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 10.51
              },
              "params": {
                "expected_minutes": 10.51,
                "appearance_probability": 0.602
              }
            },
            {
              "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": 5.7763,
                "minutes": 11,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 10.51
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 5.7763,
                "minutes": 11,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 10.51,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 17, fifa_overall 74.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 5.7763,
                "minutes": 11,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 10.51,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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": 74.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Ivan Azón": {
          "player_id": 1000696,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 90,
          "height": 181,
          "market_value": 5200000,
          "stats": {
            "expected_goals": 0.0637,
            "goal_rate": 0.0838,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0063,
            "key_pass": 0,
            "rating": 6.3914,
            "minutes": 25,
            "total_pass": 1,
            "accurate_pass": 0,
            "duels_won": 0,
            "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": 1,
            "possession_lost": 0.8377,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 1,
            "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": 1,
            "progressive_carries": 0,
            "bench_appearance_probability": 0.564,
            "bench_expected_minutes": 25.4,
            "projected_substitution_order": 4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 3.079,
            "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": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16416348.0,
              "match_date": "2026-09-07",
              "home_team": "Getafe",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Getafe",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 17,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4905,
            "combined_rank_score": 2997.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 5809.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "substitute",
            "projected_match_rating": 6.3914,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ivan Azón",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gabri Martínez",
                  "ranking": 4900
                },
                {
                  "player_name": "Gabriel Silva",
                  "ranking": 4901
                },
                {
                  "player_name": "Óscar Aranda",
                  "ranking": 4902
                },
                {
                  "player_name": "Ryunosuke Sato",
                  "ranking": 4903
                },
                {
                  "player_name": "Santi García",
                  "ranking": 4904
                }
              ],
              "lower": [
                {
                  "player_name": "Diogo Travassos",
                  "ranking": 4906
                },
                {
                  "player_name": "Miha Zajc",
                  "ranking": 4907
                },
                {
                  "player_name": "Rokas Pukštas",
                  "ranking": 4908
                },
                {
                  "player_name": "Alex Dobre",
                  "ranking": 4909
                },
                {
                  "player_name": "David Moses",
                  "ranking": 4910
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.312,
          "history_matches": 1,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.399959715539993,
            "bench_appearance_prob": 0.5636345325245452,
            "market_value_adjustment": 0.9894,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (1 historical appearances) to 25.4 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.2625,
                "goal_rate": 0.3002,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0224,
                "key_pass": 0,
                "rating": 6.4599,
                "minutes": 17,
                "total_pass": 3,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 3.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "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": 4,
                "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-07",
                    "opponent": "Celta Vigo",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 0.0,
                  "minutesPlayed": 17.0,
                  "touches": 5.0,
                  "dribbleValueNormalized": 0.05
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.26249560713768005,
                    "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.0418
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0411
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0411
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0399
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0397
                        }
                      ],
                      "others": -0.051,
                      "total": 0.2625
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.3001943826675415,
                    "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": "duelLost",
                          "contribution": -0.0538
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0372
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0267
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0248
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0268
                        }
                      ],
                      "others": 0.0208,
                      "total": 0.3002
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5682193636894226,
                    "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.0558
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0507
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0357
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0336
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0114
                        }
                      ],
                      "others": -0.0731,
                      "total": 0.5682
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.022388840094208717,
                    "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.0122
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0062
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0042
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0035
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0031
                        }
                      ],
                      "others": -0.0063,
                      "total": 0.0224
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3406141400337219,
                    "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.1974
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0292
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0271
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0206
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0183
                        }
                      ],
                      "others": -0.0497,
                      "total": 0.3406
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.4599223136901855,
                    "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": "aerial_dominance",
                          "contribution": -0.1454
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0975
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0594
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.053
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0357
                        }
                      ],
                      "others": -0.0529,
                      "total": 6.4599
                    }
                  }
                ],
                "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.9894, quality 0.465)",
              "stats": {
                "expected_goals": 0.2597,
                "goal_rate": 0.297,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0222,
                "key_pass": 0,
                "rating": 6.3914,
                "minutes": 17,
                "total_pass": 3,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 2.9682,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "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": 4,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 5200000,
                "quality_factor": 0.4646,
                "boost_factor": 0.9894
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.4 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0733,
                "goal_rate": 0.0838,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0063,
                "key_pass": 0,
                "rating": 6.3914,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "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": 1,
                "possession_lost": 0.8377,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "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": 1,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 25.4
              },
              "params": {
                "expected_minutes": 25.4,
                "appearance_probability": 0.564
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0733,
                "goal_rate": 0.0838,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0063,
                "key_pass": 0,
                "rating": 6.3914,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "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": 1,
                "possession_lost": 0.8377,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "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": 1,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 25.4
              },
              "params": {
                "stats_clamped": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.02 (squad xG sum 1.1732, xG scale 0.8694)",
              "stats": {
                "expected_goals": 0.0637,
                "goal_rate": 0.0838,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0063,
                "key_pass": 0,
                "rating": 6.3914,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "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": 1,
                "possession_lost": 0.8377,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "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": 1,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 25.4,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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.02,
                "squad_xg_sum": 1.1732,
                "xg_scale": 0.8694
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0733,
                  "after": 0.0637
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 8, fifa_overall 70.0)",
              "stats": {
                "expected_goals": 0.0637,
                "goal_rate": 0.0838,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0063,
                "key_pass": 0,
                "rating": 6.3914,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "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": 1,
                "possession_lost": 0.8377,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "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": 1,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 25.4,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 3.079,
                "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": 70.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "substitute",
                "fifa_overall": 70.0
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 0,
        "expected_goals": 1.02,
        "expected_assists": 0.47,
        "total_shots": 17,
        "shots_on_target": 5,
        "total_passes": 292,
        "interceptions": 5,
        "tackles": 12,
        "avg_rating": 6.62,
        "possession_estimated_pct": 47.8,
        "pressing_actions_per_90": 6.3
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Nelson Deossa",
        "attacker_role": "LWB",
        "attacker_market_value": 9800000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.52,
        "defenders": [
          "Francho Serrano"
        ],
        "defender_roles": [
          "RWB"
        ],
        "def_skill_quality_avg": 0.439,
        "duel_zone": "LWB vs RWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.489,
        "xg_contribution": 0.055,
        "shots_in_zone": 1.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 2.4,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Francho Serrano",
            "role": "RWB",
            "market_value": 3100000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.511
          }
        ],
        "duel_analysis": "Nelson Deossa (LWB) is evenly matched against Francho Serrano in a direct 1v1 contest. Duel win probability: 49%.  Projected xG contribution: 0.055 — with neither side clearly dominant."
      },
      {
        "attacker": "Abdessamad Ezzalzouli",
        "attacker_role": "CM",
        "attacker_market_value": 43000000,
        "attacker_height": 177,
        "attacker_skill_quality": 0.796,
        "defenders": [
          "Mario Martín"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.531,
        "duel_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.539,
        "xg_contribution": 0.0819,
        "shots_in_zone": 1.8,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.4,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Mario Martín",
            "role": "CM",
            "market_value": 10700000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.5,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.461
          }
        ],
        "duel_analysis": "Abdessamad Ezzalzouli (CM) is slightly favored against Mario Martín in a direct 1v1 contest. Duel win probability: 54%. The quality gap is significant (€43M vs €11M avg). Projected xG contribution: 0.082 — creating consistent moderate threat."
      },
      {
        "attacker": "Antony",
        "attacker_role": "CM",
        "attacker_market_value": 37000000,
        "attacker_height": 172,
        "attacker_skill_quality": 0.764,
        "defenders": [
          "Mario Martín"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.531,
        "duel_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.505,
        "xg_contribution": 0.1602,
        "shots_in_zone": 1.8,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.3,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Mario Martín",
            "role": "CM",
            "market_value": 10700000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.6,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.495
          }
        ],
        "duel_analysis": "Antony (CM) is slightly favored against Mario Martín in a direct 1v1 contest. Duel win probability: 51%. The quality gap is significant (€37M vs €11M avg). Projected xG contribution: 0.160 — creating consistent moderate threat."
      },
      {
        "attacker": "Pablo Fornals",
        "attacker_role": "RWB",
        "attacker_market_value": 8400000,
        "attacker_height": 178,
        "attacker_skill_quality": 0.503,
        "defenders": [
          "Ramón Terrats"
        ],
        "defender_roles": [
          "LWB"
        ],
        "def_skill_quality_avg": 0.44,
        "duel_zone": "RWB vs LWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.445,
        "xg_contribution": 0.0786,
        "shots_in_zone": 1.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 2.3,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Ramón Terrats",
            "role": "LWB",
            "market_value": 3200000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.555
          }
        ],
        "duel_analysis": "Pablo Fornals (RWB) is evenly matched against Ramón Terrats in a direct 1v1 contest. Duel win probability: 44%.  Projected xG contribution: 0.079 — with neither side clearly dominant."
      },
      {
        "attacker": "Troy Parrott",
        "attacker_role": "ST",
        "attacker_market_value": 23000000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.66,
        "defenders": [
          "Andrés García",
          "Zaid Romero"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.455,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.282,
        "xg_contribution": 0.139,
        "shots_in_zone": 2.4,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 3,
        "aerial_won": 1.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Andrés García",
            "role": "CB",
            "market_value": 6500000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.0,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.718
          },
          {
            "player": "Zaid Romero",
            "role": "CB",
            "market_value": 2400000,
            "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.6,
            "defensive_success_rate": 0.718
          }
        ],
        "duel_analysis": "Troy Parrott (ST) is heavily outmatched defensively against Andrés García and Zaid Romero in a 2-defender block. Duel win probability: 28%. The quality gap is significant (€23M vs €4M avg). Projected xG contribution: 0.139 — with very limited chance creation expected."
      },
      {
        "attacker": "Cucho Hernández",
        "attacker_role": "ST",
        "attacker_market_value": 16500000,
        "attacker_height": 175,
        "attacker_skill_quality": 0.595,
        "defenders": [
          "Andrés García",
          "Zaid Romero"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.455,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.213,
        "xg_contribution": 0.127,
        "shots_in_zone": 2.2,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.4,
        "aerial_duels": 3,
        "aerial_won": 1.4,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.6,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Andrés García",
            "role": "CB",
            "market_value": 6500000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.1,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.787
          },
          {
            "player": "Zaid Romero",
            "role": "CB",
            "market_value": 2400000,
            "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.8,
            "defensive_success_rate": 0.787
          }
        ],
        "duel_analysis": "Cucho Hernández (ST) is heavily outmatched defensively against Andrés García and Zaid Romero in a 2-defender block. Duel win probability: 21%.  Projected xG contribution: 0.127 — with very limited chance creation expected."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Ramón Terrats",
        "attacker_role": "LWB",
        "attacker_market_value": 3200000,
        "attacker_height": 179,
        "attacker_skill_quality": 0.44,
        "defenders": [
          "Pablo Fornals"
        ],
        "defender_roles": [
          "RWB"
        ],
        "def_skill_quality_avg": 0.503,
        "duel_zone": "LWB vs RWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.395,
        "xg_contribution": 0.162,
        "shots_in_zone": 1.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 2.2,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pablo Fornals",
            "role": "RWB",
            "market_value": 8400000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.8,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.605
          }
        ],
        "duel_analysis": "Ramón Terrats (LWB) faces tough defensive resistance against Pablo Fornals in a direct 1v1 contest. Duel win probability: 40%.  Projected xG contribution: 0.162 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Mario Martín",
        "attacker_role": "CM",
        "attacker_market_value": 10700000,
        "attacker_height": 177,
        "attacker_skill_quality": 0.531,
        "defenders": [
          "Giovani Lo Celso"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.496,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.465,
        "xg_contribution": 0.0983,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Giovani Lo Celso",
            "role": "CDM",
            "market_value": 7800000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.535
          }
        ],
        "duel_analysis": "Mario Martín (CM) is evenly matched against Giovani Lo Celso in a direct 1v1 contest. Duel win probability: 47%.  Projected xG contribution: 0.098 — with neither side clearly dominant."
      },
      {
        "attacker": "Orel Mangala",
        "attacker_role": "CM",
        "attacker_market_value": 8600000,
        "attacker_height": 178,
        "attacker_skill_quality": 0.506,
        "defenders": [
          "Giovani Lo Celso"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.496,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.458,
        "xg_contribution": 0.0378,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Giovani Lo Celso",
            "role": "CDM",
            "market_value": 7800000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.7,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.542
          }
        ],
        "duel_analysis": "Orel Mangala (CM) is evenly matched against Giovani Lo Celso in a direct 1v1 contest. Duel win probability: 46%.  Projected xG contribution: 0.038 — with neither side clearly dominant."
      },
      {
        "attacker": "Francho Serrano",
        "attacker_role": "RWB",
        "attacker_market_value": 3100000,
        "attacker_height": 177,
        "attacker_skill_quality": 0.439,
        "defenders": [
          "Nelson Deossa"
        ],
        "defender_roles": [
          "LWB"
        ],
        "def_skill_quality_avg": 0.52,
        "duel_zone": "RWB vs LWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.351,
        "xg_contribution": 0.0412,
        "shots_in_zone": 0.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 2.2,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Nelson Deossa",
            "role": "LWB",
            "market_value": 9800000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.649
          }
        ],
        "duel_analysis": "Francho Serrano (RWB) faces tough defensive resistance against Nelson Deossa in a direct 1v1 contest. Duel win probability: 35%.  Projected xG contribution: 0.041 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Martín Satriano",
        "attacker_role": "SS",
        "attacker_market_value": 10600000,
        "attacker_height": 187,
        "attacker_skill_quality": 0.529,
        "defenders": [
          "Natan"
        ],
        "defender_roles": [
          "CB"
        ],
        "def_skill_quality_avg": 0.686,
        "duel_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.376,
        "xg_contribution": 0.3072,
        "shots_in_zone": 2.2,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.0,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Natan",
            "role": "CB",
            "market_value": 26000000,
            "tackles_attempted": 2.1,
            "tackles_won": 2.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.624
          }
        ],
        "duel_analysis": "Martín Satriano (SS) faces tough defensive resistance against Natan in a direct 1v1 contest. Duel win probability: 38%. The quality gap is significant (€11M vs €26M avg). Projected xG contribution: 0.307 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Enes Ünal",
        "attacker_role": "SS",
        "attacker_market_value": 6800000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.484,
        "defenders": [
          "Natan"
        ],
        "defender_roles": [
          "CB"
        ],
        "def_skill_quality_avg": 0.686,
        "duel_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.347,
        "xg_contribution": 0.2459,
        "shots_in_zone": 2.2,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Natan",
            "role": "CB",
            "market_value": 26000000,
            "tackles_attempted": 2.1,
            "tackles_won": 2.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.653
          }
        ],
        "duel_analysis": "Enes Ünal (SS) faces tough defensive resistance against Natan in a direct 1v1 contest. Duel win probability: 35%. The quality gap is significant (€7M vs €26M avg). Projected xG contribution: 0.246 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Christantus Uche",
        "attacker_role": "ST",
        "attacker_market_value": 13200000,
        "attacker_height": 190,
        "attacker_skill_quality": 0.559,
        "defenders": [
          "Natan",
          "Valentín Gómez"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.611,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.199,
        "xg_contribution": 0.1835,
        "shots_in_zone": 2.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 2.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Natan",
            "role": "CB",
            "market_value": 26000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.2,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.801
          },
          {
            "player": "Valentín Gómez",
            "role": "CB",
            "market_value": 11200000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.1,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.801
          }
        ],
        "duel_analysis": "Christantus Uche (ST) is heavily outmatched defensively against Natan and Valentín Gómez in a 2-defender block. Duel win probability: 20%.  Projected xG contribution: 0.183 — with very limited chance creation expected."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.666,
      "away_midfield_power": 0.504,
      "home_creative_power": 0.629,
      "away_creative_power": 0.407,
      "home_defensive_power": 0.559,
      "away_defensive_power": 0.407,
      "home_dominance_ratio": 0.569,
      "home_midfield_count": 5,
      "away_midfield_count": 4,
      "home_midfield_players": [
        "Abdessamad Ezzalzouli",
        "Antony",
        "Nelson Deossa",
        "Pablo Fornals",
        "Giovani Lo Celso"
      ],
      "away_midfield_players": [
        "Mario Martín",
        "Orel Mangala",
        "Ramón Terrats",
        "Francho Serrano"
      ],
      "possession_advantage": "home",
      "estimated_possession_home_pct": 52.2,
      "estimated_possession_away_pct": 47.8,
      "home_pressing_actions_per_90": 7.3,
      "away_pressing_actions_per_90": 6.3,
      "home_key_passes_projected": 5.3,
      "away_key_passes_projected": 3.9,
      "home_throughball_threat": 2.5,
      "away_throughball_threat": 1.8,
      "key_personal_duel": "Abdessamad Ezzalzouli vs Mario Martín",
      "midfield_lambda_factor_home": 1.03,
      "midfield_lambda_factor_away": 0.974
    },
    "formation_analysis": {
      "home_formation": "3-5-2",
      "away_formation": "3-4-2-1",
      "home_tactical_bonus": -0.02,
      "away_tactical_bonus": 0.02,
      "formation_verdict": "Tactical parity between 3-5-2 and 3-4-2-1. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 1.058,
    "away_lambda": 1.02,
    "home_top_threat_zones": [
      "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "away_top_threat_zones": [
      "Shadow Striker vs Centre Back — Half-Space Threat",
      "Shadow Striker vs Centre Back — Half-Space Threat"
    ],
    "home_player_antagonists": {
      "Nelson Deossa": {
        "opponents": [
          "Francho Serrano"
        ],
        "primary_zone": "LWB vs RWB",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Abdessamad Ezzalzouli": {
        "opponents": [
          "Mario Martín",
          "Orel Mangala"
        ],
        "primary_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "source": "attacking_duel, midfield_pairing"
      },
      "Antony": {
        "opponents": [
          "Mario Martín",
          "Ramón Terrats"
        ],
        "primary_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "source": "attacking_duel, midfield_pairing"
      },
      "Pablo Fornals": {
        "opponents": [
          "Ramón Terrats",
          "Mario Martín"
        ],
        "primary_zone": "RWB vs LWB",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Troy Parrott": {
        "opponents": [
          "Andrés García",
          "Zaid Romero"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Cucho Hernández": {
        "opponents": [
          "Andrés García",
          "Zaid Romero"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Giovani Lo Celso": {
        "opponents": [
          "Mario Martín",
          "Orel Mangala"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "defensive_duel, midfield_pairing"
      },
      "Natan": {
        "opponents": [
          "Martín Satriano",
          "Enes Ünal",
          "Christantus Uche"
        ],
        "primary_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
        "source": "defensive_duel"
      },
      "Valentín Gómez": {
        "opponents": [
          "Christantus Uche"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Álvaro Valles": {
        "opponents": [
          "Martín Satriano",
          "Enes Ünal"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Fran García": {
        "opponents": [
          "Christantus Uche"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Francho Serrano": {
        "opponents": [
          "Nelson Deossa"
        ],
        "primary_zone": "LWB vs RWB",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Mario Martín": {
        "opponents": [
          "Abdessamad Ezzalzouli",
          "Antony",
          "Giovani Lo Celso",
          "Pablo Fornals"
        ],
        "primary_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Ramón Terrats": {
        "opponents": [
          "Pablo Fornals",
          "Antony"
        ],
        "primary_zone": "RWB vs LWB",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Andrés García": {
        "opponents": [
          "Troy Parrott",
          "Cucho Hernández"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Zaid Romero": {
        "opponents": [
          "Troy Parrott",
          "Cucho Hernández"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Orel Mangala": {
        "opponents": [
          "Giovani Lo Celso",
          "Abdessamad Ezzalzouli"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Martín Satriano": {
        "opponents": [
          "Natan"
        ],
        "primary_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
        "source": "attacking_duel"
      },
      "Enes Ünal": {
        "opponents": [
          "Natan"
        ],
        "primary_zone": "Shadow Striker vs Centre Back — Half-Space Threat",
        "source": "attacking_duel"
      },
      "Christantus Uche": {
        "opponents": [
          "Natan",
          "Valentín Gómez"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "David Soria": {
        "opponents": [
          "Troy Parrott",
          "Cucho Hernández"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Abdel Abqar": {
        "opponents": [
          "Troy Parrott"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Home midfield dominates with ~52% possession expected (Abdessamad Ezzalzouli vs Mario Martín). Total antagonist xG — Home: 0.64, Away: 1.08. Home danger zone: Central Mid vs Central Mid — Box-to-Box Midfield Contest. Away danger zone: Shadow Striker vs Centre Back — Half-Space Threat.",
    "lambda_factors": {
      "home_gk_opposition_factor": 1.0122,
      "away_gk_opposition_factor": 0.993,
      "home_set_piece_bonus": 0.0569,
      "away_set_piece_bonus": 0.159,
      "home_defensive_solidity_vs": 1.0168,
      "away_defensive_solidity_vs": 0.9683,
      "home_midfield_factor": 1.03,
      "away_midfield_factor": 0.974,
      "stage_discount": 1.0,
      "quality_gap_applied": true,
      "home_avg_quality": 0.607,
      "away_avg_quality": 0.484,
      "avg_quality_gap": 0.123,
      "squad_value_gap_log": 0.9459,
      "top5_value_gap_log": 0.954,
      "attack_value_gap_log": 0.854,
      "elite_count_gap": 1,
      "combined_quality_gap": 0.2503,
      "stronger_lambda_boost": 0.1377,
      "weaker_lambda_suppression": 0.0801,
      "home_bench_lambda_bonus": 0.0477,
      "away_bench_lambda_bonus": 0.0644,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "Real Betis",
        "away_squad": "Getafe",
        "home_goals_per90": 1.3333333333333333,
        "away_goals_against_per90": 0.33,
        "away_goals_per90": 0.3333333333333333,
        "home_goals_against_per90": 1.33,
        "home_empirical_lambda": 0.326,
        "away_empirical_lambda": 0.328,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": false,
      "competitive_underdog_floor_applied": true,
      "competitive_underdog_floor": 1.02,
      "pre_competitive_floor_home_lambda": 1.058,
      "pre_competitive_floor_away_lambda": 0.794,
      "pre_calibration_home_lambda": 1.0576,
      "pre_calibration_away_lambda": 0.7939,
      "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.058,
      "final_away_lambda": 1.02
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 4,
    "opponent_position": 15,
    "standing_lambda_multiplier": 1.0431,
    "attack_index": 1.041,
    "defense_concede_index": 1.041,
    "form_multiplier": 1.051,
    "team_attack_rate_contextual": 1.25,
    "opp_defense_rate_contextual": 1.25,
    "team_ppg": 2.25,
    "opponent_ppg": 1.0
  },
  "away_standing": {
    "available": true,
    "team_position": 15,
    "opponent_position": 4,
    "standing_lambda_multiplier": 0.7166,
    "attack_index": 0.416,
    "defense_concede_index": 1.041,
    "form_multiplier": 0.949,
    "team_attack_rate_contextual": 0.5,
    "opp_defense_rate_contextual": 1.25,
    "team_ppg": 1.0,
    "opponent_ppg": 2.25
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Real Betis vs Getafe. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 3-5-2 vs 3-4-2-1 (duel lambdas: Home 1.058, Away 0.794). Final calibrated Poisson lambdas: Home 1.058, Away 1.020 (most likely score 1-0).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 10,
      "home_fbref_players": 8,
      "away_starters_count": 11,
      "away_xgboost_players": 10,
      "away_fbref_players": 10,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": true,
      "home_squad": "Real Betis",
      "away_squad": "Getafe",
      "home_goals_per90": 1.3333333333333333,
      "away_goals_against_per90": 0.33,
      "away_goals_per90": 0.3333333333333333,
      "home_goals_against_per90": 1.33,
      "home_empirical_lambda": 0.326,
      "away_empirical_lambda": 0.328,
      "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.058,
      "away_lambda": 1.02,
      "micro_duel_home_lambda": 1.058,
      "micro_duel_away_lambda": 0.794
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": false,
      "underdog_floor_applied": true
    }
  },
  "timestamp": "2026-09-17T13:30:42Z"
}