{
  "match_info": {
    "home_team": "Villarreal",
    "away_team": "Levante",
    "tournament": "LaLiga",
    "date": "20260920",
    "timezone": "America/New_York",
    "home_formation": "5-4-1",
    "away_formation": "4-3-3",
    "lineup_status": "projected_from_squad",
    "lineup_source": "/teams/get-squad",
    "lineup_confirmed": false,
    "lineup_confidence": 0.45
  },
  "prediction": {
    "most_likely_score": "1-2",
    "home_goals": 1,
    "away_goals": 2,
    "most_likely_score_probability": 0.0832,
    "match_resolution": "regulation",
    "predicted_winner": "Levante",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.2276,
      "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-2",
        "probability": 0.0832
      },
      {
        "score": "1-1",
        "probability": 0.0969
      },
      {
        "score": "2-1",
        "probability": 0.0806
      },
      {
        "score": "2-2",
        "probability": 0.0697
      },
      {
        "score": "0-1",
        "probability": 0.0566
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0339,
      "0-1": 0.0566,
      "0-2": 0.0496,
      "0-3": 0.0286,
      "0-4": 0.0124,
      "0-5": 0.0043,
      "0-6": 0.0012,
      "1-0": 0.0548,
      "1-1": 0.0969,
      "1-2": 0.0832,
      "1-3": 0.048,
      "1-4": 0.0207,
      "1-5": 0.0072,
      "1-6": 0.0021,
      "1-7": 0.0005,
      "2-0": 0.0466,
      "2-1": 0.0806,
      "2-2": 0.0697,
      "2-3": 0.0402,
      "2-4": 0.0174,
      "2-5": 0.006,
      "2-6": 0.0017,
      "3-0": 0.0261,
      "3-1": 0.0451,
      "3-2": 0.039,
      "3-3": 0.0225,
      "3-4": 0.0097,
      "3-5": 0.0034,
      "3-6": 0.001,
      "4-0": 0.0109,
      "4-1": 0.0189,
      "4-2": 0.0163,
      "4-3": 0.0094,
      "4-4": 0.0041,
      "4-5": 0.0014,
      "5-0": 0.0037,
      "5-1": 0.0063,
      "5-2": 0.0055,
      "5-3": 0.0032,
      "5-4": 0.0014,
      "6-0": 0.001,
      "6-1": 0.0018,
      "6-2": 0.0015,
      "6-3": 0.0009
    },
    "outcome": {
      "home_win": 0.3752,
      "draw": 0.2276,
      "away_win": 0.3972
    },
    "markets": {
      "over_2_5_goals": 0.6616,
      "under_2_5_goals": 0.3384,
      "btts_yes": 0.6697,
      "btts_no": 0.3303,
      "home_clean_sheet": 0.1773,
      "away_clean_sheet": 0.1869
    },
    "home_ratings": {
      "DR": 7.02,
      "MCR": 7.27,
      "ATR": 7.4,
      "GK": 6.62
    },
    "away_ratings": {
      "DR": 6.76,
      "MCR": 6.76,
      "ATR": 6.88,
      "GK": 7.18
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Villarreal vs Levante. Most likely scoreline: 1-2. Lambdas derived from 6 home and 4 away individual player duels.",
      "key_player": "Projected scorer(s): Georges Mikautadze, Petar Ratkov, Iván Romero",
      "tactical_analysis": "Tactical parity between 5-4-1 and 4-3-3. Match outcome driven primarily by individual player quality. Home midfield dominates with ~53% possession expected (Alberto Moleiro vs Enzo Bardeli). Total antagonist xG — Home: 0.63, Away: 0.56. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Right Wing vs Left Wingback — Compact Flank."
    },
    "confidence": 0.57,
    "home_lambda": 1.677,
    "away_lambda": 1.73,
    "modal_scoreline": "1-1",
    "modal_scoreline_probability": 0.0969,
    "headline_policy": "decisive_score_substitution"
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.3752,
      "draw": 0.2276,
      "away_win": 0.3972
    },
    "favorite": "Levante",
    "favorite_win_probability": 0.3972,
    "fair_spread": -0.053,
    "fair_total": 3.407,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Villarreal",
        "estimate": 1.677,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Levante",
        "estimate": 1.73,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.6616,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.6697,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Villarreal",
        "estimate": 1.0,
        "probability": 0.1773,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Levante",
        "estimate": 1.0,
        "probability": 0.1869,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Georges Mikautadze (Villarreal)",
        "estimate": 0.529,
        "probability": 0.4963,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Petar Ratkov (Levante)",
        "estimate": 0.4484,
        "probability": 0.5047,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Santiago Mouriño (Villarreal)",
        "estimate": 0.1764,
        "probability": 0.0436,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Adrián de la Fuente (Levante)",
        "estimate": 0.1872,
        "probability": 0.0556,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "high",
      "expected_total_goals": 3.407,
      "expected_total_shots": 24,
      "expected_total_passes": 839,
      "expected_pressing_actions_per_90": 13.5,
      "possession_home_pct": 52.9,
      "possession_away_pct": 47.1,
      "notes": "Villarreal projects to control midfield possession"
    },
    "expected_game_script": {
      "favorite": "Levante",
      "favorite_win_probability": 0.3972,
      "script": "Levante is the fair winner side, but the baseline remains narrow: fair spread -0.05 goals and fair total 3.41.",
      "first_half": "Expect high tempo while both sides test the matchup thesis; shot baseline is about 12 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Villarreal must keep the match inside one goal.",
      "late_game": "A Levante lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Levante chance creation leans on Petar Ratkov against Carlos Romero in Right Wing vs Left Wingback — Compact Flank; Villarreal projects to control midfield possession.",
    "expected_rotation_usage_behavior": [
      "Villarreal: starters carry the main goal usage through Georges Mikautadze; bench watchlist: Nathan-Dylan Saliba, Tani Oluwaseyi, Nicolas Pépé.",
      "Levante: starters carry the main goal usage through Petar Ratkov, Iván Romero; bench watchlist: Kareem Tunde, Paco Cortés.",
      "Assist usage should flow through Tajon Buchanan, Enzo Bardeli; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Levante tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects high tempo, about 12 total first-half shots, and 1.70 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 Villarreal 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 Levante.",
      "Villarreal 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": {
    "Villarreal": {
      "formation": "5-4-1",
      "players": {
        "Luiz Júnior": {
          "player_id": 1066603,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 192,
          "market_value": 12400000,
          "stats": {
            "saves": 2,
            "goals_prevented": 0.0,
            "rating": 6.6207,
            "minutes": 91,
            "total_pass": 21,
            "accurate_pass": 19,
            "duels_won": 0,
            "total_long_balls": 4,
            "accurate_long_balls": 0,
            "touches": 27,
            "clearances": 0,
            "ball_recovery": 6,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 2,
            "sweeper_accurate": 2,
            "saves_inside_box": 0,
            "possession_lost": 2.0301,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 19,
            "expected_saves": 1.19,
            "high_pressure_saves": 0.45,
            "shots_faced": 2.5,
            "opponent_faced": "Petar Ratkov, Iván Romero",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 5.3,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 15,
                "ball_recovery": 4,
                "goals_prevented": -1.7728
              },
              "has_player_stats": true,
              "league_name": "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": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 18,
                "clearances": 2,
                "ball_recovery": 8,
                "saves": 1,
                "goals_prevented": -0.2317
              },
              "has_player_stats": true,
              "league_name": "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 25,
                "ball_recovery": 5,
                "saves": 2,
                "goals_prevented": -1.1323
              },
              "has_player_stats": true,
              "league_name": "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": 16421061.0,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 18,
                "ball_recovery": 6,
                "saves": 3,
                "goals_prevented": -0.6088
              },
              "has_player_stats": true,
              "league_name": "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": 2073,
            "combined_rank_score": 790.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 339.0,
            "sofascore_rating": 6.9929,
            "sofascore_appearances": 28.0,
            "fifa_rank": 1241.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "projected_match_rating": 6.6207,
            "source_file": "data/player_rankings.csv",
            "player_name": "Luiz Júnior",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kim Jong-Seok",
                  "ranking": 2068
                },
                {
                  "player_name": "Ariel Cáceres",
                  "ranking": 2069
                },
                {
                  "player_name": "Lucas Zelarayán",
                  "ranking": 2070
                },
                {
                  "player_name": "Šime Gržan",
                  "ranking": 2071
                },
                {
                  "player_name": "Kaku",
                  "ranking": 2072
                }
              ],
              "lower": [
                {
                  "player_name": "Maximiliano Rodríguez",
                  "ranking": 2074
                },
                {
                  "player_name": "Abbos Gulomov",
                  "ranking": 2075
                },
                {
                  "player_name": "Chan-dong Lee",
                  "ranking": 2076
                },
                {
                  "player_name": "Leonardo Spinazzola",
                  "ranking": 2077
                },
                {
                  "player_name": "Toni Martínez",
                  "ranking": 2078
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "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.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0151,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (G_service) evaluated 4 historical appearances across 3 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.5224,
                "minutes": 90,
                "total_pass": 21,
                "accurate_pass": 19,
                "duels_won": 0,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "touches": 26,
                "clearances": 0,
                "ball_recovery": 6,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 0,
                "possession_lost": 2.0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 19
              },
              "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-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 5.3
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 5.9
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 1.6522,
                  "touches": 25.95,
                  "totalOwnHalfPasses": 18.8855,
                  "punches": 0.0,
                  "distribution_accuracy": 0.9702,
                  "accurateKeeperSweeper": 1.4595
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.440355062484741,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0587
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0534
                      },
                      {
                        "name": "touches",
                        "importance": 0.0497
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.049
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.043
                      }
                    ],
                    "decomposition": {
                      "base": 2.9806,
                      "items": [
                        {
                          "name": "touches",
                          "contribution": -0.2345
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.1158
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.0583
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0532
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0312
                        }
                      ],
                      "others": -0.1096,
                      "total": 2.4404
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.0,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.053
                      },
                      {
                        "name": "punches",
                        "importance": 0.051
                      },
                      {
                        "name": "touches",
                        "importance": 0.0482
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0468
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0432
                      }
                    ],
                    "decomposition": {
                      "base": -0.0536,
                      "items": [
                        {
                          "name": "touches",
                          "contribution": -0.1812
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.1478
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0706
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0446
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0411
                        }
                      ],
                      "others": -0.0843,
                      "total": -0.6232
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.522439479827881,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0593
                      },
                      {
                        "name": "touches",
                        "importance": 0.0495
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0484
                      },
                      {
                        "name": "savedShotsFromInsideTheBox",
                        "importance": 0.0468
                      },
                      {
                        "name": "punches",
                        "importance": 0.0464
                      }
                    ],
                    "decomposition": {
                      "base": 7.0716,
                      "items": [
                        {
                          "name": "touches",
                          "contribution": -0.1839
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0877
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0726
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0597
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0461
                        }
                      ],
                      "others": -0.0992,
                      "total": 6.5224
                    }
                  }
                ],
                "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.0151, quality 0.550)",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.6207,
                "minutes": 91,
                "total_pass": 21,
                "accurate_pass": 19,
                "duels_won": 0,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "touches": 27,
                "clearances": 0,
                "ball_recovery": 6,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 0,
                "possession_lost": 2.0301,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 19
              },
              "params": {
                "market_value_eur": 12400000,
                "quality_factor": 0.5502,
                "boost_factor": 1.0151
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.6207,
                "minutes": 91,
                "total_pass": 21,
                "accurate_pass": 19,
                "duels_won": 0,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "touches": 27,
                "clearances": 0,
                "ball_recovery": 6,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 0,
                "possession_lost": 2.0301,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 19
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.6207,
                "minutes": 91,
                "total_pass": 21,
                "accurate_pass": 19,
                "duels_won": 0,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "touches": 27,
                "clearances": 0,
                "ball_recovery": 6,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 0,
                "possession_lost": 2.0301,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 19,
                "expected_saves": 1.19,
                "high_pressure_saves": 0.45,
                "shots_faced": 2.5,
                "opponent_faced": "Petar Ratkov, Iván Romero",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Petar Ratkov, Iván Romero",
                  "matchup_zone": "Goalkeeper shot-stopping context"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.6207,
                "minutes": 91,
                "total_pass": 21,
                "accurate_pass": 19,
                "duels_won": 0,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "touches": 27,
                "clearances": 0,
                "ball_recovery": 6,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 0,
                "possession_lost": 2.0301,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 19,
                "expected_saves": 1.19,
                "high_pressure_saves": 0.45,
                "shots_faced": 2.5,
                "opponent_faced": "Petar Ratkov, Iván Romero",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 1.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 10, fifa_overall 78.0)",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.6207,
                "minutes": 91,
                "total_pass": 21,
                "accurate_pass": 19,
                "duels_won": 0,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "touches": 27,
                "clearances": 0,
                "ball_recovery": 6,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 0,
                "possession_lost": 2.0301,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 19,
                "expected_saves": 1.19,
                "high_pressure_saves": 0.45,
                "shots_faced": 2.5,
                "opponent_faced": "Petar Ratkov, Iván Romero",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2073,
                "fifa_rank": 1241.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.6207,
                "minutes": 91,
                "total_pass": 21,
                "accurate_pass": 19,
                "duels_won": 0,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "touches": 27,
                "clearances": 0,
                "ball_recovery": 6,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 0,
                "possession_lost": 2.0301,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 19,
                "expected_saves": 1.19,
                "high_pressure_saves": 0.45,
                "shots_faced": 2.5,
                "opponent_faced": "Petar Ratkov, Iván Romero",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 10.4492,
                "weight_share": 0.0,
                "position_multiplier": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.6207,
                "minutes": 91,
                "total_pass": 21,
                "accurate_pass": 19,
                "duels_won": 0,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "touches": 27,
                "clearances": 0,
                "ball_recovery": 6,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 0,
                "possession_lost": 2.0301,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 19,
                "expected_saves": 1.19,
                "high_pressure_saves": 0.45,
                "shots_faced": 2.5,
                "opponent_faced": "Petar Ratkov, Iván Romero",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 8.5159,
                "weight_share": 0.0,
                "position_multiplier": 0.0
              }
            }
          ]
        },
        "Renato Veiga": {
          "player_id": 1087359,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 12,
          "height": 190,
          "market_value": 29000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 7.2577,
            "minutes": 95,
            "total_pass": 82,
            "accurate_pass": 76,
            "duels_won": 2,
            "total_long_balls": 7,
            "accurate_long_balls": 4,
            "total_own_half_passes": 43,
            "accurate_own_half_passes": 42,
            "total_opp_half_passes": 39,
            "accurate_opp_half_passes": 34,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 98,
            "possession_lost": 9.0355,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.085,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 32,
            "total_progression": 104,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 100.0,
            "pointsPerMatch": 0.67,
            "netGoalDifferencePer90": 0.0,
            "tackles_in_zone": 1.1,
            "tackles_won_in_zone": 1.2,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Etta Eyong",
            "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.0459,
            "projected_assists": 0,
            "assist_probability": 0.0278,
            "fifa_overall": 78.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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0209,
                "total_shots": 0,
                "total_pass": 78,
                "accurate_pass": 74,
                "interceptions": 3,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 1,
                "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": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.1297,
                "expected_assists": 0.0324,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 92,
                "accurate_pass": 84,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.0087,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 52,
                "interceptions": 2,
                "clearances": 8,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061.0,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assists": 0,
                "expected_assists": 0.2498,
                "total_shots": 0,
                "total_pass": 80,
                "accurate_pass": 76,
                "interceptions": 2,
                "clearances": 9,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2081,
            "combined_rank_score": 791.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1247.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "projected_match_rating": 7.2577,
            "source_file": "data/player_rankings.csv",
            "player_name": "Renato Veiga",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Chan-dong Lee",
                  "ranking": 2076
                },
                {
                  "player_name": "Leonardo Spinazzola",
                  "ranking": 2077
                },
                {
                  "player_name": "Toni Martínez",
                  "ranking": 2078
                },
                {
                  "player_name": "Callum Hudson Odoi",
                  "ranking": 2079
                },
                {
                  "player_name": "Cédric Bakambu",
                  "ranking": 2080
                }
              ],
              "lower": [
                {
                  "player_name": "Shodiyor Shodiboev",
                  "ranking": 2082
                },
                {
                  "player_name": "Matija Rom",
                  "ranking": 2083
                },
                {
                  "player_name": "Franco Rami",
                  "ranking": 2084
                },
                {
                  "player_name": "Jon Aramburu",
                  "ranking": 2085
                },
                {
                  "player_name": "Nikita Haikin",
                  "ranking": 2086
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.53,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.53,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.063,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.67,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 4 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.8275,
                "minutes": 90,
                "total_pass": 77,
                "accurate_pass": 72,
                "duels_won": 2,
                "total_long_balls": 6,
                "accurate_long_balls": 4,
                "total_own_half_passes": 41,
                "accurate_own_half_passes": 40,
                "total_opp_half_passes": 36,
                "accurate_opp_half_passes": 32,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 92,
                "possession_lost": 8.5,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.08,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 30,
                "total_progression": 98,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "touches_p90": 92.2264,
                  "accuratePass": 72.0648,
                  "possessionLostCtrl": 8.3852,
                  "totalClearance": 5.6038,
                  "totalClearance_p90": 5.6038
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.990608811378479,
                    "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.0388
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0283
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0171
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0137
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.01
                        }
                      ],
                      "others": -0.0007,
                      "total": 0.9906
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1629997491836548,
                    "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.0768
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0595
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0359
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0299
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.026
                        }
                      ],
                      "others": 0.0358,
                      "total": 1.163
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6941888332366943,
                    "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.0795
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.064
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0602
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0414
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0333
                        }
                      ],
                      "others": -0.0229,
                      "total": 0.6942
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.328888893127441,
                    "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.2652
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.1843
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1546
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1511
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.1453
                        }
                      ],
                      "others": 0.0252,
                      "total": 4.3289
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.346065878868103,
                    "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.1192
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0572
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0499
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0493
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0281
                        }
                      ],
                      "others": 0.0387,
                      "total": 1.3461
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4879615306854248,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0686
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0348
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0316
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0276
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.022
                        }
                      ],
                      "others": -0.0344,
                      "total": 0.488
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.827540397644043,
                    "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.0466
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0297
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0289
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0204
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0193
                        }
                      ],
                      "others": 0.0199,
                      "total": 6.8275
                    }
                  }
                ],
                "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.0630, quality 0.710)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.2577,
                "minutes": 95,
                "total_pass": 82,
                "accurate_pass": 76,
                "duels_won": 2,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 43,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 39,
                "accurate_opp_half_passes": 34,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 98,
                "possession_lost": 9.0355,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.085,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 32,
                "total_progression": 104,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 29000000,
                "quality_factor": 0.71,
                "boost_factor": 1.063
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0722)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.2577,
                "minutes": 95,
                "total_pass": 82,
                "accurate_pass": 76,
                "duels_won": 2,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 43,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 39,
                "accurate_opp_half_passes": 34,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 98,
                "possession_lost": 9.0355,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.085,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 32,
                "total_progression": 104,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": -0.33
              },
              "params": {
                "blend_weight": 0.0722,
                "history_matches": 4,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.7379,
                  "after": 0.6846
                },
                {
                  "stat": "fouls",
                  "before": 1.5945,
                  "after": 1.5516
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.053,
                  "after": 1.0732
                },
                {
                  "stat": "totalShots",
                  "before": 0.5187,
                  "after": 0.5296
                }
              ]
            },
            {
              "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,
                "total_shots": 1,
                "rating": 7.2577,
                "minutes": 95,
                "total_pass": 82,
                "accurate_pass": 76,
                "duels_won": 2,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 43,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 39,
                "accurate_opp_half_passes": 34,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 98,
                "possession_lost": 9.0355,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.085,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 32,
                "total_progression": 104,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.2577,
                "minutes": 95,
                "total_pass": 82,
                "accurate_pass": 76,
                "duels_won": 2,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 43,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 39,
                "accurate_opp_half_passes": 34,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 98,
                "possession_lost": 9.0355,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.085,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 32,
                "total_progression": 104,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.2,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Etta Eyong",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Etta Eyong",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.2577,
                "minutes": 95,
                "total_pass": 82,
                "accurate_pass": 76,
                "duels_won": 2,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 43,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 39,
                "accurate_opp_half_passes": 34,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 98,
                "possession_lost": 9.0355,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.085,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 32,
                "total_progression": 104,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.2,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Etta Eyong",
                "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.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 4, fifa_overall 78.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.2577,
                "minutes": 95,
                "total_pass": 82,
                "accurate_pass": 76,
                "duels_won": 2,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 43,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 39,
                "accurate_opp_half_passes": 34,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 98,
                "possession_lost": 9.0355,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.085,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 32,
                "total_progression": 104,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.2,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Etta Eyong",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2081,
                "fifa_rank": 1247.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.2577,
                "minutes": 95,
                "total_pass": 82,
                "accurate_pass": 76,
                "duels_won": 2,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 43,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 39,
                "accurate_opp_half_passes": 34,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 98,
                "possession_lost": 9.0355,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.085,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 32,
                "total_progression": 104,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.2,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Etta Eyong",
                "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.0459,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0459,
                "scorer_weight": 0.4793,
                "squad_weight_total": 10.4492,
                "weight_share": 0.0459,
                "position_multiplier": 0.38
              }
            },
            {
              "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,
                "total_shots": 1,
                "rating": 7.2577,
                "minutes": 95,
                "total_pass": 82,
                "accurate_pass": 76,
                "duels_won": 2,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 43,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 39,
                "accurate_opp_half_passes": 34,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 98,
                "possession_lost": 9.0355,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.085,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 32,
                "total_progression": 104,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.2,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Etta Eyong",
                "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.0459,
                "projected_assists": 0,
                "assist_probability": 0.0278,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0278,
                "provider_weight": 0.2371,
                "squad_weight_total": 8.5159,
                "weight_share": 0.0278,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Carlos Romero": {
          "player_id": 1396048,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 20,
          "height": 174,
          "market_value": 24000000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 7.0622,
            "minutes": 95,
            "total_pass": 54,
            "accurate_pass": 48,
            "duels_won": 7,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 35,
            "accurate_opp_half_passes": 32,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 78,
            "possession_lost": 11.2094,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "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.063,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 25,
            "total_progression": 100,
            "progressive_carries": 2,
            "key_pass": 0,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.3333,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 100.0,
            "pointsPerMatch": 0.67,
            "netGoalDifferencePer90": 0.0,
            "tackles_in_zone": 2.1,
            "tackles_won_in_zone": 1.9,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.582,
            "opponent_faced": "Petar Ratkov",
            "pressing_zone": "Right Wing vs Left Wingback — Compact Flank",
            "matchup_zone": "Left Wingback vs Right Winger — Tracking Run Duel",
            "antagonist_source": "attacking_duel, defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0195,
            "projected_assists": 0,
            "assist_probability": 0.0215,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0469,
                "expected_assists": 0.053,
                "total_shots": 1,
                "total_pass": 57,
                "accurate_pass": 52,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assists": 0,
                "expected_assists": 0.0296,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 34,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 5,
                "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": 16421061.0,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assists": 0,
                "expected_goals": 0.016,
                "expected_assists": 0.0973,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 53,
                "accurate_pass": 50,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 12,
                "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": 1032,
            "combined_rank_score": 460.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 764.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "projected_match_rating": 7.0622,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carlos Romero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mamadou Sangare",
                  "ranking": 1027
                },
                {
                  "player_name": "Azizbek  Pirmukhamedov",
                  "ranking": 1028
                },
                {
                  "player_name": "Jonas Urbig",
                  "ranking": 1029
                },
                {
                  "player_name": "James Donachie",
                  "ranking": 1030
                },
                {
                  "player_name": "Felipe Campos",
                  "ranking": 1031
                }
              ],
              "lower": [
                {
                  "player_name": "Shota Gvazava",
                  "ranking": 1033
                },
                {
                  "player_name": "Joachim Andersen",
                  "ranking": 1034
                },
                {
                  "player_name": "Alisson",
                  "ranking": 1035
                },
                {
                  "player_name": "Anthony Elanga",
                  "ranking": 1036
                },
                {
                  "player_name": "Sander Berge",
                  "ranking": 1037
                }
              ]
            }
          },
          "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",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.467,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0506,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.67,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7223,
                "minutes": 90,
                "total_pass": 51,
                "accurate_pass": 45,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 15,
                "total_opp_half_passes": 33,
                "accurate_opp_half_passes": 30,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 75,
                "possession_lost": 10.67,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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.06,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 23,
                "total_progression": 95,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "touches_p90": 74.7133,
                  "accuratePass": 45.4908,
                  "possessionLostCtrl": 10.7017,
                  "totalClearance": 1.9504,
                  "totalClearance_p90": 1.9504
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8354364633560181,
                    "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.0447
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.022
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0184
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0135
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.013
                        }
                      ],
                      "others": -0.0078,
                      "total": 0.8354
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.5087143182754517,
                    "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.1243
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0951
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0694
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0636
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0441
                        }
                      ],
                      "others": 0.0229,
                      "total": 1.5087
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.3775721788406372,
                    "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.1339
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.1006
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0906
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0612
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0582
                        }
                      ],
                      "others": 0.182,
                      "total": 1.3776
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.8903086185455322,
                    "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.5346
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.2764
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1651
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.163
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.1435
                        }
                      ],
                      "others": -0.5605,
                      "total": 1.8903
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9787386059761047,
                    "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.1286
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0668
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0406
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0386
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0368
                        }
                      ],
                      "others": -0.0292,
                      "total": 0.9787
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5021250247955322,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0849
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.041
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0251
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0184
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0171
                        }
                      ],
                      "others": -0.0536,
                      "total": 0.5021
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.722318172454834,
                    "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.0315
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0285
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0254
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0247
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0194
                        }
                      ],
                      "others": 0.0439,
                      "total": 6.7223
                    }
                  }
                ],
                "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.0506, quality 0.669)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.0622,
                "minutes": 95,
                "total_pass": 54,
                "accurate_pass": 48,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 32,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 78,
                "possession_lost": 11.2094,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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.063,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 100,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 24000000,
                "quality_factor": 0.6685,
                "boost_factor": 1.0506
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0813)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.0622,
                "minutes": 95,
                "total_pass": 54,
                "accurate_pass": 48,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 32,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 78,
                "possession_lost": 11.2094,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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.063,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 100,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": -0.33
              },
              "params": {
                "blend_weight": 0.0813,
                "history_matches": 3,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.1896
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.8777,
                  "after": 0.8335
                },
                {
                  "stat": "wonTackle",
                  "before": 1.4472,
                  "after": 1.465
                },
                {
                  "stat": "totalShots",
                  "before": 0.5275,
                  "after": 0.5391
                },
                {
                  "stat": "totalCross",
                  "before": 2.1011,
                  "after": 2.0929
                }
              ]
            },
            {
              "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,
                "total_shots": 1,
                "rating": 7.0622,
                "minutes": 95,
                "total_pass": 54,
                "accurate_pass": 48,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 32,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 78,
                "possession_lost": 11.2094,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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.063,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 100,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.0622,
                "minutes": 95,
                "total_pass": 54,
                "accurate_pass": 48,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 32,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 78,
                "possession_lost": 11.2094,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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.063,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 100,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.582,
                "opponent_faced": "Petar Ratkov",
                "pressing_zone": "Right Wing vs Left Wingback — Compact Flank",
                "matchup_zone": "Left Wingback vs Right Winger — Tracking Run Duel",
                "antagonist_source": "attacking_duel, defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Petar Ratkov",
                  "matchup_zone": "Left Wingback vs Right Winger — Tracking Run Duel"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.0622,
                "minutes": 95,
                "total_pass": 54,
                "accurate_pass": 48,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 32,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 78,
                "possession_lost": 11.2094,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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.063,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 100,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.582,
                "opponent_faced": "Petar Ratkov",
                "pressing_zone": "Right Wing vs Left Wingback — Compact Flank",
                "matchup_zone": "Left Wingback vs Right Winger — Tracking Run Duel",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 5, fifa_overall 80.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.0622,
                "minutes": 95,
                "total_pass": 54,
                "accurate_pass": 48,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 32,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 78,
                "possession_lost": 11.2094,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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.063,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 100,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.582,
                "opponent_faced": "Petar Ratkov",
                "pressing_zone": "Right Wing vs Left Wingback — Compact Flank",
                "matchup_zone": "Left Wingback vs Right Winger — Tracking Run Duel",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1032,
                "fifa_rank": 764.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.0622,
                "minutes": 95,
                "total_pass": 54,
                "accurate_pass": 48,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 32,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 78,
                "possession_lost": 11.2094,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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.063,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 100,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.582,
                "opponent_faced": "Petar Ratkov",
                "pressing_zone": "Right Wing vs Left Wingback — Compact Flank",
                "matchup_zone": "Left Wingback vs Right Winger — Tracking Run Duel",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0195,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0195,
                "scorer_weight": 0.2037,
                "squad_weight_total": 10.4492,
                "weight_share": 0.0195,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.0622,
                "minutes": 95,
                "total_pass": 54,
                "accurate_pass": 48,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 32,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 78,
                "possession_lost": 11.2094,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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.063,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 100,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.582,
                "opponent_faced": "Petar Ratkov",
                "pressing_zone": "Right Wing vs Left Wingback — Compact Flank",
                "matchup_zone": "Left Wingback vs Right Winger — Tracking Run Duel",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0195,
                "projected_assists": 0,
                "assist_probability": 0.0215,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0215,
                "provider_weight": 0.1835,
                "squad_weight_total": 8.5159,
                "weight_share": 0.0215,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Santiago Mouriño": {
          "player_id": 1468046,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 15,
          "height": 186,
          "market_value": 19400000,
          "stats": {
            "interceptions": 1,
            "tackles": 3,
            "tackles_won": 2,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.8582,
            "minutes": 83,
            "total_pass": 47,
            "accurate_pass": 42,
            "duels_won": 7,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 28,
            "accurate_opp_half_passes": 25,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 72,
            "possession_lost": 11.7553,
            "dispossessed": 1.7327,
            "duels_lost": 7,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 7,
            "challenges_lost": 2,
            "fouls": 2,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.1764,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 18,
            "total_progression": 63,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.7692,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 50.0,
            "shotConversion": 0.0,
            "minutesPct": 88.1,
            "pointsPerMatch": 0.67,
            "netGoalDifferencePer90": 0.0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 1.2,
            "interceptions_in_zone": 1.0,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Etta Eyong",
            "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.0279,
            "projected_assists": 0,
            "assist_probability": 0.0436,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.051,
                "expected_assists": 0.1417,
                "total_shots": 1,
                "total_pass": 44,
                "accurate_pass": 38,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 8,
                "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.3351,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 5,
                "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": 16421061.0,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 88,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.1233,
                "expected_assists": 0.0387,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 53,
                "accurate_pass": 45,
                "tackles": 5,
                "tackles_won": 4,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2087,
            "combined_rank_score": 793.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 339.0,
            "sofascore_rating": 6.9929,
            "sofascore_appearances": 28.0,
            "fifa_rank": 1248.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "projected_match_rating": 6.8582,
            "source_file": "data/player_rankings.csv",
            "player_name": "Santiago Mouriño",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Shodiyor Shodiboev",
                  "ranking": 2082
                },
                {
                  "player_name": "Matija Rom",
                  "ranking": 2083
                },
                {
                  "player_name": "Franco Rami",
                  "ranking": 2084
                },
                {
                  "player_name": "Jon Aramburu",
                  "ranking": 2085
                },
                {
                  "player_name": "Nikita Haikin",
                  "ranking": 2086
                }
              ],
              "lower": [
                {
                  "player_name": "Mason Mount",
                  "ranking": 2088
                },
                {
                  "player_name": "Thomas Partey",
                  "ranking": 2089
                },
                {
                  "player_name": "Sukhrob Izzatov",
                  "ranking": 2090
                },
                {
                  "player_name": "Gyu-baeg Lee",
                  "ranking": 2091
                },
                {
                  "player_name": "Brian Oyola",
                  "ranking": 2092
                }
              ]
            }
          },
          "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",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.463,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0375,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 238.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.76,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1733
            },
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.17, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.6101,
                "minutes": 80,
                "total_pass": 45,
                "accurate_pass": 40,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 24,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 11.33,
                "dispossessed": 1.67,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "challenges_lost": 2,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.17,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 17,
                "total_progression": 61,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "touches_p90": 82.6216,
                  "accuratePass": 39.6356,
                  "possessionLostCtrl": 11.1992,
                  "totalClearance": 1.6113,
                  "totalClearance_p90": 1.7996
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7606542706489563,
                    "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.069
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0212
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0172
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0167
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0137
                        }
                      ],
                      "others": -0.0891,
                      "total": 0.7607
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.49259614944458,
                    "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.3081
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.2018
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.2108
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.2261
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0367
                        }
                      ],
                      "others": 0.1538,
                      "total": 2.4926
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.7300313711166382,
                    "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.1591
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.1354
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.118
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.088
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0718
                        }
                      ],
                      "others": 0.2902,
                      "total": 1.73
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.1297860145568848,
                    "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.5668
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.2867
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1884
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.1518
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1316
                        }
                      ],
                      "others": -0.3249,
                      "total": 2.1298
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.0669220685958862,
                    "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.0898
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0487
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0446
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0436
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0298
                        }
                      ],
                      "others": -0.0655,
                      "total": 1.0669
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5002227425575256,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0368
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0343
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0222
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0167
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0166
                        }
                      ],
                      "others": -0.0048,
                      "total": 0.5002
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.610098838806152,
                    "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.0663
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0478
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0282
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0264
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0261
                        }
                      ],
                      "others": -0.0056,
                      "total": 6.6101
                    }
                  }
                ],
                "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.0375, quality 0.625)",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.8582,
                "minutes": 83,
                "total_pass": 47,
                "accurate_pass": 42,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 11.7553,
                "dispossessed": 1.7327,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 7,
                "challenges_lost": 2,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1764,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 63,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 19400000,
                "quality_factor": 0.6251,
                "boost_factor": 1.0375
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0704)",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.8582,
                "minutes": 83,
                "total_pass": 47,
                "accurate_pass": 42,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 11.7553,
                "dispossessed": 1.7327,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 7,
                "challenges_lost": 2,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1764,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 63,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.7692,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 88.1,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": -0.38
              },
              "params": {
                "blend_weight": 0.0704,
                "history_matches": 3,
                "prior_reliability": 0.1733,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 1.795,
                  "after": 1.8853
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0812
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.7892,
                  "after": 0.7607
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.0,
                  "after": 0.0268
                },
                {
                  "stat": "totalShots",
                  "before": 0.519,
                  "after": 0.536
                },
                {
                  "stat": "fouls",
                  "before": 2.0751,
                  "after": 2.0915
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.8582,
                "minutes": 83,
                "total_pass": 47,
                "accurate_pass": 42,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 11.7553,
                "dispossessed": 1.7327,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 7,
                "challenges_lost": 2,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1764,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 63,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.7692,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 88.1,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.8582,
                "minutes": 83,
                "total_pass": 47,
                "accurate_pass": 42,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 11.7553,
                "dispossessed": 1.7327,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 7,
                "challenges_lost": 2,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1764,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 63,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.7692,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 88.1,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.2,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Etta Eyong",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Etta Eyong",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.8582,
                "minutes": 83,
                "total_pass": 47,
                "accurate_pass": 42,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 11.7553,
                "dispossessed": 1.7327,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 7,
                "challenges_lost": 2,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1764,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 63,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.7692,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 88.1,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.2,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Etta Eyong",
                "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.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 6, fifa_overall 78.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.8582,
                "minutes": 83,
                "total_pass": 47,
                "accurate_pass": 42,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 11.7553,
                "dispossessed": 1.7327,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 7,
                "challenges_lost": 2,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1764,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 63,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.7692,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 88.1,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.2,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Etta Eyong",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2087,
                "fifa_rank": 1248.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.8582,
                "minutes": 83,
                "total_pass": 47,
                "accurate_pass": 42,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 11.7553,
                "dispossessed": 1.7327,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 7,
                "challenges_lost": 2,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1764,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 63,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.7692,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 88.1,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.2,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Etta Eyong",
                "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.0279,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0279,
                "scorer_weight": 0.2917,
                "squad_weight_total": 10.4492,
                "weight_share": 0.0279,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.8582,
                "minutes": 83,
                "total_pass": 47,
                "accurate_pass": 42,
                "duels_won": 7,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 11.7553,
                "dispossessed": 1.7327,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 7,
                "challenges_lost": 2,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1764,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 63,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.7692,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 88.1,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.2,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Etta Eyong",
                "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.0279,
                "projected_assists": 0,
                "assist_probability": 0.0436,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0436,
                "provider_weight": 0.3712,
                "squad_weight_total": 8.5159,
                "weight_share": 0.0436,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Pau Navarro": {
          "player_id": 1525863,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 6,
          "height": 185,
          "market_value": 14600000,
          "stats": {
            "interceptions": 2,
            "tackles": 3,
            "tackles_won": 2,
            "clearances": 3,
            "aerial_won": 2,
            "duels_won": 6,
            "total_pass": 46,
            "accurate_pass": 37,
            "expected_goals": 0.0448,
            "rating": 7.0,
            "minutes": 90,
            "total_long_balls": 6,
            "accurate_long_balls": 3,
            "total_own_half_passes": 29,
            "accurate_own_half_passes": 24,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 8,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 62,
            "possession_lost": 6.9,
            "dispossessed": 0.5,
            "duels_lost": 4,
            "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.056,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.014,
            "key_pass": 1,
            "ball_carries": 21,
            "total_progression": 64,
            "progressive_carries": 5,
            "tackles_in_zone": 2.0,
            "tackles_won_in_zone": 1.9,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.65,
            "opponent_faced": "Iván Romero",
            "pressing_zone": "Left Wing vs Right Wingback — Compact Flank",
            "matchup_zone": "Right Wingback vs Left Winger — Tracking Run Duel",
            "antagonist_source": "attacking_duel, defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0398,
            "projected_assists": 0,
            "assist_probability": 0.0451,
            "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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            }
          ],
          "ranking": {
            "global_player_rank": 3794,
            "combined_rank_score": 1792.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 661.0,
            "sofascore_rating": 6.7304,
            "sofascore_appearances": 23.0,
            "fifa_rank": 2923.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "projected_match_rating": 7.0,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pau Navarro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Chadi Riad",
                  "ranking": 3789
                },
                {
                  "player_name": "Adalberto Carrasquilla",
                  "ranking": 3790
                },
                {
                  "player_name": "Tyler Dibling",
                  "ranking": 3791
                },
                {
                  "player_name": "Jacob Widell Zetterström",
                  "ranking": 3792
                },
                {
                  "player_name": "Maxime Crépeau",
                  "ranking": 3793
                }
              ],
              "lower": [
                {
                  "player_name": "Lucas Pires",
                  "ranking": 3795
                },
                {
                  "player_name": "Salih Özcan",
                  "ranking": 3796
                },
                {
                  "player_name": "Stefan Mugoša",
                  "ranking": 3797
                },
                {
                  "player_name": "Jaden Philogene",
                  "ranking": 3798
                },
                {
                  "player_name": "Kenny McLean",
                  "ranking": 3799
                }
              ]
            }
          },
          "data_sources": [
            "market_value",
            "fbref_season"
          ],
          "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",
              "fbref_season"
            ],
            "market_value_adjustment": 0.5748,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Market-value baseline (€14,600,000) applied for position D (quality factor 0.57); FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.00, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.57)",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "total_pass": 46,
                "accurate_pass": 37,
                "expected_goals": 0.019,
                "rating": 7.0,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 62,
                "possession_lost": 6.9,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "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.056,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.014,
                "key_pass": 1,
                "ball_carries": 21,
                "total_progression": 64,
                "progressive_carries": 5
              },
              "params": {
                "market_value_eur": 14600000,
                "quality_factor": 0.5748
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0000)",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "total_pass": 46,
                "accurate_pass": 37,
                "expected_goals": 0.019,
                "rating": 7.0,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 62,
                "possession_lost": 6.9,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "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.056,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.014,
                "key_pass": 1,
                "ball_carries": 21,
                "total_progression": 64,
                "progressive_carries": 5
              },
              "params": {
                "blend_weight": 0.0,
                "history_matches": 0,
                "prior_reliability": 0.0,
                "competition": "La Liga",
                "squad": "Villarreal"
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "total_pass": 46,
                "accurate_pass": 37,
                "expected_goals": 0.019,
                "rating": 7.0,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 62,
                "possession_lost": 6.9,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "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.056,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.014,
                "key_pass": 1,
                "ball_carries": 21,
                "total_progression": 64,
                "progressive_carries": 5
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "total_pass": 46,
                "accurate_pass": 37,
                "expected_goals": 0.019,
                "rating": 7.0,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 62,
                "possession_lost": 6.9,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "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.056,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.014,
                "key_pass": 1,
                "ball_carries": 21,
                "total_progression": 64,
                "progressive_carries": 5,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.65,
                "opponent_faced": "Iván Romero",
                "pressing_zone": "Left Wing vs Right Wingback — Compact Flank",
                "matchup_zone": "Right Wingback vs Left Winger — Tracking Run Duel",
                "antagonist_source": "attacking_duel, defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iván Romero",
                  "matchup_zone": "Right Wingback vs Left Winger — Tracking Run Duel"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "total_pass": 46,
                "accurate_pass": 37,
                "expected_goals": 0.0448,
                "rating": 7.0,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 62,
                "possession_lost": 6.9,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "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.056,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.014,
                "key_pass": 1,
                "ball_carries": 21,
                "total_progression": 64,
                "progressive_carries": 5,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.65,
                "opponent_faced": "Iván Romero",
                "pressing_zone": "Left Wing vs Right Wingback — Compact Flank",
                "matchup_zone": "Right Wingback vs Left Winger — Tracking Run Duel",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.019,
                  "after": 0.0448
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 7, fifa_overall 74.0)",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "total_pass": 46,
                "accurate_pass": 37,
                "expected_goals": 0.0448,
                "rating": 7.0,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 62,
                "possession_lost": 6.9,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "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.056,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.014,
                "key_pass": 1,
                "ball_carries": 21,
                "total_progression": 64,
                "progressive_carries": 5,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.65,
                "opponent_faced": "Iván Romero",
                "pressing_zone": "Left Wing vs Right Wingback — Compact Flank",
                "matchup_zone": "Right Wingback vs Left Winger — Tracking Run Duel",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3794,
                "fifa_rank": 2923.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "total_pass": 46,
                "accurate_pass": 37,
                "expected_goals": 0.0448,
                "rating": 7.0,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 62,
                "possession_lost": 6.9,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "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.056,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.014,
                "key_pass": 1,
                "ball_carries": 21,
                "total_progression": 64,
                "progressive_carries": 5,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.65,
                "opponent_faced": "Iván Romero",
                "pressing_zone": "Left Wing vs Right Wingback — Compact Flank",
                "matchup_zone": "Right Wingback vs Left Winger — Tracking Run Duel",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0398,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0398,
                "scorer_weight": 0.4154,
                "squad_weight_total": 10.4492,
                "weight_share": 0.0398,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "total_pass": 46,
                "accurate_pass": 37,
                "expected_goals": 0.0448,
                "rating": 7.0,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 62,
                "possession_lost": 6.9,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "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.056,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.014,
                "key_pass": 1,
                "ball_carries": 21,
                "total_progression": 64,
                "progressive_carries": 5,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.65,
                "opponent_faced": "Iván Romero",
                "pressing_zone": "Left Wing vs Right Wingback — Compact Flank",
                "matchup_zone": "Right Wingback vs Left Winger — Tracking Run Duel",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0398,
                "projected_assists": 0,
                "assist_probability": 0.0451,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0451,
                "provider_weight": 0.384,
                "squad_weight_total": 8.5159,
                "weight_share": 0.0451,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Logan Costa": {
          "player_id": 911853,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 2,
          "height": 188,
          "market_value": 14600000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.9248,
            "minutes": 85,
            "total_pass": 53,
            "accurate_pass": 49,
            "duels_won": 1,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 30,
            "accurate_own_half_passes": 28,
            "total_opp_half_passes": 24,
            "accurate_opp_half_passes": 21,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 57,
            "possession_lost": 5.1122,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.1446,
            "expected_assists": 0.0307,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 21,
            "total_progression": 114,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 1,
            "opponent_faced": "Etta Eyong",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0563,
            "projected_assists": 0,
            "assist_probability": 0.0142,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 83,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.0572,
                "expected_assists": 0.0285,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 52,
                "accurate_pass": 48,
                "clearances": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 3313,
            "combined_rank_score": 1271.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1965.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "projected_match_rating": 6.9248,
            "source_file": "data/player_rankings.csv",
            "player_name": "Logan Costa",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Luca Ranieri",
                  "ranking": 3308
                },
                {
                  "player_name": "Răzvan Marin",
                  "ranking": 3309
                },
                {
                  "player_name": "Diego Coppola",
                  "ranking": 3310
                },
                {
                  "player_name": "Pablo Rosario",
                  "ranking": 3311
                },
                {
                  "player_name": "Víctor Gómez",
                  "ranking": 3312
                }
              ],
              "lower": [
                {
                  "player_name": "Santiago Ascacíbar",
                  "ranking": 3314
                },
                {
                  "player_name": "Rio Ngumoha",
                  "ranking": 3315
                },
                {
                  "player_name": "Kyle Walker-Peters",
                  "ranking": 3316
                },
                {
                  "player_name": "Alberto Costa",
                  "ranking": 3317
                },
                {
                  "player_name": "Tajon Buchanan",
                  "ranking": 3318
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.312,
          "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",
              "totalShots",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0224,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (D_service) evaluated 1 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.00, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7728,
                "minutes": 83,
                "total_pass": 52,
                "accurate_pass": 48,
                "duels_won": 1,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 27,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 5.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": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.06,
                "expected_assists": 0.03,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 112,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 1.0,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 1.0,
                  "touches_p90": 60.7229,
                  "accuratePass": 48.0,
                  "possessionLostCtrl": 5.0,
                  "totalClearance": 1.0,
                  "totalClearance_p90": 1.0843
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1329905986785889,
                    "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": "duel_win_rate",
                          "contribution": 0.1296
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0579
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.038
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0361
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0173
                        }
                      ],
                      "others": 0.0193,
                      "total": 1.133
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3322136402130127,
                    "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.049
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0454
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0422
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.027
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.025
                        }
                      ],
                      "others": 0.0811,
                      "total": 1.3322
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8580319881439209,
                    "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.0933
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0683
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0671
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0308
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0238
                        }
                      ],
                      "others": 0.1372,
                      "total": 0.858
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.849745750427246,
                    "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": "totalClearance_p90",
                          "contribution": -0.3097
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3081
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.2424
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.1657
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1654
                        }
                      ],
                      "others": 0.2054,
                      "total": 3.8497
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.125475287437439,
                    "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.0864
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0544
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0511
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0505
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0439
                        }
                      ],
                      "others": -0.0191,
                      "total": 1.1255
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.752562940120697,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.1127
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0479
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0308
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0286
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0257
                        }
                      ],
                      "others": 0.0507,
                      "total": 0.7526
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.772780895233154,
                    "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.0608
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.033
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0315
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0265
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0233
                        }
                      ],
                      "others": 0.0476,
                      "total": 6.7728
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0224, quality 0.575)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.9248,
                "minutes": 85,
                "total_pass": 53,
                "accurate_pass": 49,
                "duels_won": 1,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 57,
                "possession_lost": 5.1122,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0613,
                "expected_assists": 0.0307,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 114,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 14600000,
                "quality_factor": 0.5748,
                "boost_factor": 1.0224
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0000)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.9248,
                "minutes": 85,
                "total_pass": 53,
                "accurate_pass": 49,
                "duels_won": 1,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 57,
                "possession_lost": 5.1122,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0613,
                "expected_assists": 0.0307,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 114,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "blend_weight": 0.0,
                "history_matches": 1,
                "prior_reliability": 0.0,
                "competition": "La Liga",
                "squad": "Villarreal"
              }
            },
            {
              "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,
                "total_shots": 1,
                "rating": 6.9248,
                "minutes": 85,
                "total_pass": 53,
                "accurate_pass": 49,
                "duels_won": 1,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 57,
                "possession_lost": 5.1122,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0613,
                "expected_assists": 0.0307,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 114,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.9248,
                "minutes": 85,
                "total_pass": 53,
                "accurate_pass": 49,
                "duels_won": 1,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 57,
                "possession_lost": 5.1122,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0613,
                "expected_assists": 0.0307,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 114,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1,
                "opponent_faced": "Etta Eyong",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Etta Eyong",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.9248,
                "minutes": 85,
                "total_pass": 53,
                "accurate_pass": 49,
                "duels_won": 1,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 57,
                "possession_lost": 5.1122,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1446,
                "expected_assists": 0.0307,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 114,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1,
                "opponent_faced": "Etta Eyong",
                "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.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0613,
                  "after": 0.1446
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 8, fifa_overall 76.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.9248,
                "minutes": 85,
                "total_pass": 53,
                "accurate_pass": 49,
                "duels_won": 1,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 57,
                "possession_lost": 5.1122,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1446,
                "expected_assists": 0.0307,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 114,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1,
                "opponent_faced": "Etta Eyong",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3313,
                "fifa_rank": 1965.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "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": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.9248,
                "minutes": 85,
                "total_pass": 53,
                "accurate_pass": 49,
                "duels_won": 1,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 57,
                "possession_lost": 5.1122,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1446,
                "expected_assists": 0.0307,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 114,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1,
                "opponent_faced": "Etta Eyong",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0563,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0563,
                "scorer_weight": 0.5879,
                "squad_weight_total": 10.4492,
                "weight_share": 0.0563,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.9248,
                "minutes": 85,
                "total_pass": 53,
                "accurate_pass": 49,
                "duels_won": 1,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 57,
                "possession_lost": 5.1122,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1446,
                "expected_assists": 0.0307,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 114,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1,
                "opponent_faced": "Etta Eyong",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0563,
                "projected_assists": 0,
                "assist_probability": 0.0142,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0142,
                "provider_weight": 0.1211,
                "squad_weight_total": 8.5159,
                "weight_share": 0.0142,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Alberto Moleiro": {
          "player_id": 1012444,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 10,
          "height": 172,
          "market_value": 54000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1208,
            "assists": 0,
            "expected_goals": 0.1811,
            "shots_on_target": 0,
            "total_shots": 2,
            "rating": 7.631,
            "minutes": 56,
            "total_pass": 28,
            "accurate_pass": 24,
            "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": 22,
            "accurate_opp_half_passes": 20,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 40,
            "possession_lost": 8.8089,
            "dispossessed": 0.0,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 3,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 12,
            "total_progression": 58,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "offsides": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 52.6,
            "pointsPerMatch": 0.67,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.5,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.584,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
            "numerical_situation": "1v1",
            "opponent_defenders": "Enzo Bardeli",
            "opponent_faced": "Enzo Bardeli",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0813,
            "projected_assists": 0,
            "assist_probability": 0.193,
            "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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 62,
                "rating": 7.4,
                "assists": 0,
                "expected_goals": 0.2202,
                "expected_assists": 0.158,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 31,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 27,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.2319,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 60,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0657,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 26,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "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": 16421061.0,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 56,
                "rating": 6.7,
                "assists": 1,
                "expected_assists": 0.1651,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 26,
                "key_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1102,
            "combined_rank_score": 671.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 494.0,
            "sofascore_rating": 6.8622,
            "sofascore_appearances": 37.0,
            "fifa_rank": 849.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "projected_match_rating": 7.631,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alberto Moleiro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Merih Demiral",
                  "ranking": 1097
                },
                {
                  "player_name": "César Azpilicueta",
                  "ranking": 1098
                },
                {
                  "player_name": "Sardor Mirzayev",
                  "ranking": 1099
                },
                {
                  "player_name": "Mukhammadkodir Khamraliev",
                  "ranking": 1100
                },
                {
                  "player_name": "Pascal Groß",
                  "ranking": 1101
                }
              ],
              "lower": [
                {
                  "player_name": "Angelo Stiller",
                  "ranking": 1103
                },
                {
                  "player_name": "Mauro Júnior",
                  "ranking": 1104
                },
                {
                  "player_name": "Konstantinos Tzolakis",
                  "ranking": 1105
                },
                {
                  "player_name": "Pau Torres",
                  "ranking": 1106
                },
                {
                  "player_name": "Ju-yeong Jo",
                  "ranking": 1107
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.516,
          "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",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.516,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.1011,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 142.0,
              "goals_per90": 0.0,
              "assists_per90": 0.625,
              "shots_per90": 0.0,
              "prior_reliability": 0.1067
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.11, gls/90: 0.0, ast/90: 0.625)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1097,
                "assists": 0,
                "expected_goals": 0.0698,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9303,
                "minutes": 51,
                "total_pass": 25,
                "accurate_pass": 22,
                "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": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 36,
                "possession_lost": 8.0,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 53,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.6276,
                  "ballRecovery_p90": 1.6763,
                  "progressiveBallCarriesCount": 1.4665,
                  "expectedAssists": 0.1582,
                  "ballRecovery": 1.1342
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.281342625617981,
                    "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.0743
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0695
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0578
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0592
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0585
                        }
                      ],
                      "others": -0.0071,
                      "total": 1.2813
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10973459482192993,
                    "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.0111
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.008
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.007
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0057
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0056
                        }
                      ],
                      "others": 0.0046,
                      "total": 0.1097
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08524326235055923,
                    "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.0064
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0052
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0039
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0037
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.0039,
                      "total": 0.0852
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06979149580001831,
                    "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.0194
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0135
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0099
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0061
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0043
                        }
                      ],
                      "others": 0.0057,
                      "total": 0.0698
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2913687229156494,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0507
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0207
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0147
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0119
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.008
                        }
                      ],
                      "others": 0.0118,
                      "total": 0.2914
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.4003231525421143,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.1413
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1351
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1046
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.1024
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1007
                        }
                      ],
                      "others": 0.028,
                      "total": 1.4003
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.930306911468506,
                    "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": "duel_win_rate",
                          "contribution": -0.0372
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0255
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0245
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.021
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0189
                        }
                      ],
                      "others": 0.0458,
                      "total": 6.9303
                    }
                  }
                ],
                "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.1011, quality 0.837)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1208,
                "assists": 0,
                "expected_goals": 0.0768,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.631,
                "minutes": 56,
                "total_pass": 28,
                "accurate_pass": 24,
                "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": 22,
                "accurate_opp_half_passes": 20,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 8.8089,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 58,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 54000000,
                "quality_factor": 0.837,
                "boost_factor": 1.1011
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0385)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1208,
                "assists": 0,
                "expected_goals": 0.0768,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.631,
                "minutes": 56,
                "total_pass": 28,
                "accurate_pass": 24,
                "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": 22,
                "accurate_opp_half_passes": 20,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 8.8089,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 58,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 52.6,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": -0.63
              },
              "params": {
                "blend_weight": 0.0385,
                "history_matches": 4,
                "prior_reliability": 0.1067,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.1204
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "totalShots",
                  "before": 1.5419,
                  "after": 1.4825
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0939,
                  "after": 0.1144
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3208,
                  "after": 0.3084
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1208,
                "assists": 0,
                "expected_goals": 0.0768,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.631,
                "minutes": 56,
                "total_pass": 28,
                "accurate_pass": 24,
                "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": 22,
                "accurate_opp_half_passes": 20,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 8.8089,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 58,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 52.6,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1208,
                "assists": 0,
                "expected_goals": 0.0768,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.631,
                "minutes": 56,
                "total_pass": 28,
                "accurate_pass": 24,
                "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": 22,
                "accurate_opp_half_passes": 20,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 8.8089,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 58,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 52.6,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.584,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Enzo Bardeli",
                "opponent_faced": "Enzo Bardeli",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Enzo Bardeli",
                  "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                  "duel_win_rate": 0.584,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.8
                },
                {
                  "stat": "totalShots",
                  "before": 1.5295,
                  "after": 1.9
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1208,
                "assists": 0,
                "expected_goals": 0.1811,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.631,
                "minutes": 56,
                "total_pass": 28,
                "accurate_pass": 24,
                "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": 22,
                "accurate_opp_half_passes": 20,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 8.8089,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 58,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 52.6,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.584,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Enzo Bardeli",
                "opponent_faced": "Enzo Bardeli",
                "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.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0768,
                  "after": 0.1811
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 1, fifa_overall 79.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1208,
                "assists": 0,
                "expected_goals": 0.1811,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.631,
                "minutes": 56,
                "total_pass": 28,
                "accurate_pass": 24,
                "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": 22,
                "accurate_opp_half_passes": 20,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 8.8089,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 58,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 52.6,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.584,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Enzo Bardeli",
                "opponent_faced": "Enzo Bardeli",
                "antagonist_source": "attacking_duel, defensive_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": 1,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1102,
                "fifa_rank": 849.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1208,
                "assists": 0,
                "expected_goals": 0.1811,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.631,
                "minutes": 56,
                "total_pass": 28,
                "accurate_pass": 24,
                "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": 22,
                "accurate_opp_half_passes": 20,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 8.8089,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 58,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 52.6,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.584,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Enzo Bardeli",
                "opponent_faced": "Enzo Bardeli",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0813,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0813,
                "scorer_weight": 0.8493,
                "squad_weight_total": 10.4492,
                "weight_share": 0.0813,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1208,
                "assists": 0,
                "expected_goals": 0.1811,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.631,
                "minutes": 56,
                "total_pass": 28,
                "accurate_pass": 24,
                "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": 22,
                "accurate_opp_half_passes": 20,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 8.8089,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 58,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 52.6,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.584,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Enzo Bardeli",
                "opponent_faced": "Enzo Bardeli",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0813,
                "projected_assists": 0,
                "assist_probability": 0.193,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.193,
                "provider_weight": 1.6439,
                "squad_weight_total": 8.5159,
                "weight_share": 0.193,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Pape Gueye": {
          "player_id": 879694,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 187,
          "market_value": 39000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.111,
            "assists": 0,
            "expected_goals": 0.1585,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.5401,
            "minutes": 90,
            "total_pass": 73,
            "accurate_pass": 62,
            "duels_won": 4,
            "total_long_balls": 8,
            "accurate_long_balls": 5,
            "total_own_half_passes": 27,
            "accurate_own_half_passes": 25,
            "total_opp_half_passes": 46,
            "accurate_opp_half_passes": 38,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 87,
            "possession_lost": 14.6156,
            "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": 2,
            "goal_rate": 0.0241,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 25,
            "total_progression": 73,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.3333,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.33,
            "minutesPct": 100.0,
            "pointsPerMatch": 0.67,
            "netGoalDifferencePer90": 0.0,
            "opponent_faced": "Enzo Bardeli",
            "matchup_zone": "Midfield lane",
            "antagonist_source": "midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0713,
            "projected_assists": 0,
            "assist_probability": 0.1913,
            "fifa_overall": 80.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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 62,
                "rating": 7.1,
                "assists": 0,
                "expected_goals": 0.029,
                "expected_assists": 0.1173,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 59,
                "accurate_pass": 52,
                "key_pass": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.1195,
                "total_shots": 0,
                "total_pass": 85,
                "accurate_pass": 68,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assists": 0,
                "expected_goals": 0.0469,
                "expected_assists": 0.0538,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 70,
                "accurate_pass": 63,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "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": 16421061.0,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.0217,
                "expected_assists": 0.1321,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 56,
                "accurate_pass": 47,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 826,
            "combined_rank_score": 394.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 30.0,
            "sofascore_rating": 8.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 758.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "projected_match_rating": 7.5401,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pape Gueye",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Florian Thauvin",
                  "ranking": 821
                },
                {
                  "player_name": "Corentin Tolisso",
                  "ranking": 822
                },
                {
                  "player_name": "José María Giménez",
                  "ranking": 823
                },
                {
                  "player_name": "Dean Henderson",
                  "ranking": 824
                },
                {
                  "player_name": "Palhinha",
                  "ranking": 825
                }
              ],
              "lower": [
                {
                  "player_name": "Caoimhin Kelleher",
                  "ranking": 827
                },
                {
                  "player_name": "Antonio Raíllo",
                  "ranking": 828
                },
                {
                  "player_name": "Dilshod Akhmadaliev",
                  "ranking": 829
                },
                {
                  "player_name": "Botirali Ergashev",
                  "ranking": 830
                },
                {
                  "player_name": "Mathias Jensen",
                  "ranking": 831
                }
              ]
            }
          },
          "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",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.53,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0826,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.3333333333333333,
              "assists_per90": 0.0,
              "shots_per90": 1.0,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.20, gls/90: 0.3333333333333333, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1025,
                "assists": 0,
                "expected_goals": 0.0621,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9646,
                "minutes": 83,
                "total_pass": 68,
                "accurate_pass": 58,
                "duels_won": 3,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 43,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 81,
                "possession_lost": 13.5,
                "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": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 23,
                "total_progression": 68,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 8.0
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.96,
                  "ballRecovery_p90": 3.5439,
                  "progressiveBallCarriesCount": 0.8544,
                  "expectedAssists": 0.1063,
                  "ballRecovery": 3.1187
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.33766508102417,
                    "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.0995
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0549
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0574
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0582
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0472
                        }
                      ],
                      "others": 0.0514,
                      "total": 1.3377
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10254599153995514,
                    "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.0132
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0085
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0051
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0052
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0055
                        }
                      ],
                      "others": -0.0015,
                      "total": 0.1025
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08260398358106613,
                    "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.0077
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0056
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0035
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0034
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.0826
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.062075186520814896,
                    "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.0182
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0136
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0111
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.008
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0044
                        }
                      ],
                      "others": -0.0073,
                      "total": 0.0621
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.23025855422019958,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.057
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0164
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0092
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0091
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0067
                        }
                      ],
                      "others": -0.0219,
                      "total": 0.2303
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9946929812431335,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "history_matches",
                          "contribution": 0.1284
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1046
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0829
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0776
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0587
                        }
                      ],
                      "others": -0.1893,
                      "total": 0.9947
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.964600086212158,
                    "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": "totalPass_p90",
                          "contribution": 0.0301
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0206
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.02
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0188
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0186
                        }
                      ],
                      "others": 0.0247,
                      "total": 6.9646
                    }
                  }
                ],
                "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.0826, quality 0.775)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.111,
                "assists": 0,
                "expected_goals": 0.0672,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.5401,
                "minutes": 90,
                "total_pass": 73,
                "accurate_pass": 62,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 5,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 25,
                "total_opp_half_passes": 46,
                "accurate_opp_half_passes": 38,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 87,
                "possession_lost": 14.6156,
                "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": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 73,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 39000000,
                "quality_factor": 0.7754,
                "boost_factor": 1.0826
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0722)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.111,
                "assists": 0,
                "expected_goals": 0.0672,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.5401,
                "minutes": 90,
                "total_pass": 73,
                "accurate_pass": 62,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 5,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 25,
                "total_opp_half_passes": 46,
                "accurate_opp_half_passes": 38,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 87,
                "possession_lost": 14.6156,
                "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": 2,
                "goal_rate": 0.0241,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 73,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": -0.33
              },
              "params": {
                "blend_weight": 0.0722,
                "history_matches": 4,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0963
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0963
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "wasFouled",
                  "before": 2.4359,
                  "after": 2.4044
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "goals",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0894,
                  "after": 0.0829
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2493,
                  "after": 0.2551
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.111,
                "assists": 0,
                "expected_goals": 0.0672,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.5401,
                "minutes": 90,
                "total_pass": 73,
                "accurate_pass": 62,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 5,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 25,
                "total_opp_half_passes": 46,
                "accurate_opp_half_passes": 38,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 87,
                "possession_lost": 14.6156,
                "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": 2,
                "goal_rate": 0.0241,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 73,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.111,
                "assists": 0,
                "expected_goals": 0.0672,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.5401,
                "minutes": 90,
                "total_pass": 73,
                "accurate_pass": 62,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 5,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 25,
                "total_opp_half_passes": 46,
                "accurate_opp_half_passes": 38,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 87,
                "possession_lost": 14.6156,
                "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": 2,
                "goal_rate": 0.0241,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 73,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Enzo Bardeli",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Enzo Bardeli",
                  "matchup_zone": "Midfield lane"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.111,
                "assists": 0,
                "expected_goals": 0.1585,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.5401,
                "minutes": 90,
                "total_pass": 73,
                "accurate_pass": 62,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 5,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 25,
                "total_opp_half_passes": 46,
                "accurate_opp_half_passes": 38,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 87,
                "possession_lost": 14.6156,
                "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": 2,
                "goal_rate": 0.0241,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 73,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Enzo Bardeli",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0672,
                  "after": 0.1585
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 2, fifa_overall 80.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.111,
                "assists": 0,
                "expected_goals": 0.1585,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.5401,
                "minutes": 90,
                "total_pass": 73,
                "accurate_pass": 62,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 5,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 25,
                "total_opp_half_passes": 46,
                "accurate_opp_half_passes": 38,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 87,
                "possession_lost": 14.6156,
                "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": 2,
                "goal_rate": 0.0241,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 73,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Enzo Bardeli",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 826,
                "fifa_rank": 758.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.111,
                "assists": 0,
                "expected_goals": 0.1585,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.5401,
                "minutes": 90,
                "total_pass": 73,
                "accurate_pass": 62,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 5,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 25,
                "total_opp_half_passes": 46,
                "accurate_opp_half_passes": 38,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 87,
                "possession_lost": 14.6156,
                "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": 2,
                "goal_rate": 0.0241,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 73,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Enzo Bardeli",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0713,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0713,
                "scorer_weight": 0.7445,
                "squad_weight_total": 10.4492,
                "weight_share": 0.0713,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.111,
                "assists": 0,
                "expected_goals": 0.1585,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.5401,
                "minutes": 90,
                "total_pass": 73,
                "accurate_pass": 62,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 5,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 25,
                "total_opp_half_passes": 46,
                "accurate_opp_half_passes": 38,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 87,
                "possession_lost": 14.6156,
                "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": 2,
                "goal_rate": 0.0241,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 73,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Enzo Bardeli",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0713,
                "projected_assists": 0,
                "assist_probability": 0.1913,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1913,
                "provider_weight": 1.6289,
                "squad_weight_total": 8.5159,
                "weight_share": 0.1913,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Tajon Buchanan": {
          "player_id": 973290,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 17,
          "height": 183,
          "market_value": 13000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1422,
            "assists": 1,
            "expected_goals": 0.2377,
            "shots_on_target": 0,
            "total_shots": 2,
            "rating": 7.0327,
            "minutes": 39,
            "total_pass": 16,
            "accurate_pass": 14,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 11,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 29,
            "possession_lost": 8.1368,
            "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": 1,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 14,
            "total_progression": 74,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 50.0,
            "shotConversion": 0.0,
            "minutesPct": 47.0,
            "pointsPerMatch": 0.67,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.4,
            "crosses_attempted": 2.3,
            "duel_win_rate": 0.528,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Mid vs Right Back — Wide Channel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Adrián de la Fuente",
            "opponent_faced": "Adrián de la Fuente",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0936,
            "projected_assists": 1,
            "assist_probability": 0.1966,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 28,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0346,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 16,
                "key_pass": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 63,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.0194,
                "expected_assists": 0.1545,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 24,
                "accurate_pass": 22,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 29,
                "rating": 7.2,
                "assists": 0,
                "expected_goals": 0.4605,
                "expected_assists": 0.0072,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "interceptions": 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": 16421061.0,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 34,
                "rating": 6.3,
                "assists": 0,
                "expected_goals": 0.0764,
                "expected_assists": 0.0032,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3318,
            "combined_rank_score": 1275.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 584.0,
            "sofascore_rating": 6.7941,
            "sofascore_appearances": 34.0,
            "fifa_rank": 1967.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "projected_match_rating": 7.0327,
            "source_file": "data/player_rankings.csv",
            "player_name": "Tajon Buchanan",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Logan Costa",
                  "ranking": 3313
                },
                {
                  "player_name": "Santiago Ascacíbar",
                  "ranking": 3314
                },
                {
                  "player_name": "Rio Ngumoha",
                  "ranking": 3315
                },
                {
                  "player_name": "Kyle Walker-Peters",
                  "ranking": 3316
                },
                {
                  "player_name": "Alberto Costa",
                  "ranking": 3317
                }
              ],
              "lower": [
                {
                  "player_name": "Dion Drena Beljo",
                  "ranking": 3319
                },
                {
                  "player_name": "Aimar Oroz",
                  "ranking": 3320
                },
                {
                  "player_name": "Konstantinos Koulierakis",
                  "ranking": 3321
                },
                {
                  "player_name": "Óliver Torres",
                  "ranking": 3322
                },
                {
                  "player_name": "Daley Blind",
                  "ranking": 3323
                }
              ]
            }
          },
          "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",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.514,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0171,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 127.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.83,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.0933
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.09, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1398,
                "assists": 0,
                "expected_goals": 0.0991,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9145,
                "minutes": 38,
                "total_pass": 16,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 8.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 73,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.9129,
                  "ballRecovery_p90": 5.7231,
                  "progressiveBallCarriesCount": 2.3609,
                  "expectedAssists": 0.0543,
                  "ballRecovery": 1.994
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.1439918279647827,
                    "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.0582
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0394
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0394
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0315
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0309
                        }
                      ],
                      "others": 0.0373,
                      "total": 1.144
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.1398201584815979,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0177
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.013
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0118
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0083
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0048
                        }
                      ],
                      "others": 0.0079,
                      "total": 0.1398
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08816113322973251,
                    "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.0066
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0055
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0038
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0037
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0026
                        }
                      ],
                      "others": -0.0054,
                      "total": 0.0882
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09907851368188858,
                    "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.0174
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0083
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0073
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.007
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0066
                        }
                      ],
                      "others": 0.0092,
                      "total": 0.0991
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.29741209745407104,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0383
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0195
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0173
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0102
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0105
                        }
                      ],
                      "others": -0.0196,
                      "total": 0.2974
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.2244665622711182,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "history_matches",
                          "contribution": 0.1069
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1054
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0844
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0502
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0436
                        }
                      ],
                      "others": -0.124,
                      "total": 1.2245
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.9144721031188965,
                    "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.0281
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0229
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0192
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0186
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0169
                        }
                      ],
                      "others": 0.0154,
                      "total": 6.9145
                    }
                  }
                ],
                "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.0171, quality 0.557)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1422,
                "assists": 0,
                "expected_goals": 0.1008,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.0327,
                "minutes": 39,
                "total_pass": 16,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 8.1368,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 74,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 13000000,
                "quality_factor": 0.557,
                "boost_factor": 1.0171
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0337)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1422,
                "assists": 0,
                "expected_goals": 0.1008,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.0327,
                "minutes": 39,
                "total_pass": 16,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 8.1368,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 74,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 47.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0337,
                "history_matches": 4,
                "prior_reliability": 0.0933,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.1444
                },
                {
                  "stat": "totalCross",
                  "before": 3.0513,
                  "after": 3.1651
                },
                {
                  "stat": "totalShots",
                  "before": 1.2455,
                  "after": 1.2989
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "fouls",
                  "before": 1.0171,
                  "after": 1.055
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3025,
                  "after": 0.3402
                },
                {
                  "stat": "interceptionWon",
                  "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.1422,
                "assists": 0,
                "expected_goals": 0.1008,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.0327,
                "minutes": 39,
                "total_pass": 16,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 8.1368,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 74,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 47.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1422,
                "assists": 0,
                "expected_goals": 0.1008,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.0327,
                "minutes": 39,
                "total_pass": 16,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 8.1368,
                "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": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 74,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 47.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.528,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrián de la Fuente",
                "opponent_faced": "Adrián de la Fuente",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Adrián de la Fuente",
                  "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                  "duel_win_rate": 0.528,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 1.2989,
                  "after": 1.7
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1422,
                "assists": 0,
                "expected_goals": 0.2377,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.0327,
                "minutes": 39,
                "total_pass": 16,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 8.1368,
                "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": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 74,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 47.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.528,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrián de la Fuente",
                "opponent_faced": "Adrián de la Fuente",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1008,
                  "after": 0.2377
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 9, fifa_overall 76.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1422,
                "assists": 0,
                "expected_goals": 0.2377,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.0327,
                "minutes": 39,
                "total_pass": 16,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 8.1368,
                "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": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 74,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 47.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.528,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrián de la Fuente",
                "opponent_faced": "Adrián de la Fuente",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3318,
                "fifa_rank": 1967.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1422,
                "assists": 0,
                "expected_goals": 0.2377,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.0327,
                "minutes": 39,
                "total_pass": 16,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 8.1368,
                "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": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 74,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 47.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.528,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrián de la Fuente",
                "opponent_faced": "Adrián de la Fuente",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0936,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0936,
                "scorer_weight": 0.9777,
                "squad_weight_total": 10.4492,
                "weight_share": 0.0936,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1422,
                "assists": 1,
                "expected_goals": 0.2377,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.0327,
                "minutes": 39,
                "total_pass": 16,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 8.1368,
                "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": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 74,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 47.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.528,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrián de la Fuente",
                "opponent_faced": "Adrián de la Fuente",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0936,
                "projected_assists": 1,
                "assist_probability": 0.1966,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.1966,
                "provider_weight": 1.6742,
                "squad_weight_total": 8.5159,
                "weight_share": 0.1966,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Ilias Akhomach": {
          "player_id": 1089108,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 11,
          "height": 175,
          "market_value": 11100000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0927,
            "assists": 0,
            "expected_goals": 0.1495,
            "shots_on_target": 0,
            "total_shots": 2,
            "rating": 6.8709,
            "minutes": 14,
            "total_pass": 9,
            "accurate_pass": 8,
            "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": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 4.8003,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 5,
            "total_progression": 14,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 17.4,
            "pointsPerMatch": 0.67,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.2,
            "crosses_attempted": 2.2,
            "duel_win_rate": 0.469,
            "pressing_faced": "LOW",
            "matchup_zone": "Right Mid vs Left Back — Wide Channel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Manuel Sánchez",
            "opponent_faced": "Manuel Sánchez",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0683,
            "projected_assists": 0,
            "assist_probability": 0.1629,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 13,
                "rating": 6.1,
                "assists": 0,
                "expected_goals": 0.0127,
                "expected_assists": 0.0046,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 20,
                "rating": 6.3,
                "assists": 0,
                "expected_assists": 0.0248,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 18,
                "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 11,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "interceptions": 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": 16421061.0,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 13,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0069,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 6,
                "tackles": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3623,
            "combined_rank_score": 1590.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 768.0,
            "sofascore_rating": 6.645,
            "sofascore_appearances": 20.0,
            "fifa_rank": 2412.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "projected_match_rating": 6.8709,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ilias Akhomach",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Joe Scally",
                  "ranking": 3618
                },
                {
                  "player_name": "Petros Mantalos",
                  "ranking": 3619
                },
                {
                  "player_name": "Rodinei",
                  "ranking": 3620
                },
                {
                  "player_name": "David Jurásek",
                  "ranking": 3621
                },
                {
                  "player_name": "Raúl Moro",
                  "ranking": 3622
                }
              ],
              "lower": [
                {
                  "player_name": "Andrija Živković",
                  "ranking": 3624
                },
                {
                  "player_name": "Maffeo",
                  "ranking": 3625
                },
                {
                  "player_name": "Harold Moukoudi",
                  "ranking": 3626
                },
                {
                  "player_name": "Davide Calabria",
                  "ranking": 3627
                },
                {
                  "player_name": "Luka Jović",
                  "ranking": 3628
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.505,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.505,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0106,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "minutes": 47.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.03, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0917,
                "assists": 0,
                "expected_goals": 0.0627,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7989,
                "minutes": 14,
                "total_pass": 9,
                "accurate_pass": 8,
                "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": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.75,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 14,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.3138,
                  "ballRecovery_p90": 3.3729,
                  "progressiveBallCarriesCount": 0.6522,
                  "expectedAssists": 0.0095,
                  "ballRecovery": 0.5806
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7832600474357605,
                    "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.0813
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0698
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0587
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0418
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0288
                        }
                      ],
                      "others": -0.045,
                      "total": 0.7833
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0917372852563858,
                    "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.0152
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0112
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0085
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0077
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0064
                        }
                      ],
                      "others": 0.002,
                      "total": 0.0917
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07881529629230499,
                    "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.006
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0048
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.004
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0036
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0035,
                      "total": 0.0788
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06270678341388702,
                    "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.0168
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0133
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0102
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0071
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0058
                        }
                      ],
                      "others": -0.0044,
                      "total": 0.0627
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.24064624309539795,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0638
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0163
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0133
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0107
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0093
                        }
                      ],
                      "others": -0.0184,
                      "total": 0.2406
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1900768280029297,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1068
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0971
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0877
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0832
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0796
                        }
                      ],
                      "others": -0.1473,
                      "total": 1.1901
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.798887729644775,
                    "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.0284
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.019
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0163
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0162
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.016
                        }
                      ],
                      "others": -0.034,
                      "total": 6.7989
                    }
                  }
                ],
                "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.0106, quality 0.535)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0927,
                "assists": 0,
                "expected_goals": 0.0634,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8709,
                "minutes": 14,
                "total_pass": 9,
                "accurate_pass": 8,
                "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": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.8003,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 14,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 11100000,
                "quality_factor": 0.5353,
                "boost_factor": 1.0106
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0120)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0927,
                "assists": 0,
                "expected_goals": 0.0634,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8709,
                "minutes": 14,
                "total_pass": 9,
                "accurate_pass": 8,
                "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": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.8003,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 14,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": -1.91
              },
              "params": {
                "blend_weight": 0.012,
                "history_matches": 4,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.1924
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "totalShots",
                  "before": 1.2027,
                  "after": 1.1882
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0927,
                "assists": 0,
                "expected_goals": 0.0634,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8709,
                "minutes": 14,
                "total_pass": 9,
                "accurate_pass": 8,
                "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": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.8003,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 14,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0927,
                "assists": 0,
                "expected_goals": 0.0634,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.8709,
                "minutes": 14,
                "total_pass": 9,
                "accurate_pass": 8,
                "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": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.8003,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 14,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.469,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Manuel Sánchez",
                "opponent_faced": "Manuel Sánchez",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Manuel Sánchez",
                  "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                  "duel_win_rate": 0.469,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 1.1998,
                  "after": 1.6
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0927,
                "assists": 0,
                "expected_goals": 0.1495,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.8709,
                "minutes": 14,
                "total_pass": 9,
                "accurate_pass": 8,
                "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": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.8003,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 14,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.469,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Manuel Sánchez",
                "opponent_faced": "Manuel Sánchez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0634,
                  "after": 0.1495
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 11, fifa_overall 75.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0927,
                "assists": 0,
                "expected_goals": 0.1495,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.8709,
                "minutes": 14,
                "total_pass": 9,
                "accurate_pass": 8,
                "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": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.8003,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 14,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.469,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Manuel Sánchez",
                "opponent_faced": "Manuel Sánchez",
                "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": 11,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3623,
                "fifa_rank": 2412.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0927,
                "assists": 0,
                "expected_goals": 0.1495,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.8709,
                "minutes": 14,
                "total_pass": 9,
                "accurate_pass": 8,
                "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": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.8003,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 14,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.469,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Manuel Sánchez",
                "opponent_faced": "Manuel Sánchez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0683,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0683,
                "scorer_weight": 0.7133,
                "squad_weight_total": 10.4492,
                "weight_share": 0.0683,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0927,
                "assists": 0,
                "expected_goals": 0.1495,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.8709,
                "minutes": 14,
                "total_pass": 9,
                "accurate_pass": 8,
                "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": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.8003,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 14,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.469,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Manuel Sánchez",
                "opponent_faced": "Manuel Sánchez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0683,
                "projected_assists": 0,
                "assist_probability": 0.1629,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1629,
                "provider_weight": 1.3871,
                "squad_weight_total": 8.5159,
                "weight_share": 0.1629,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Georges Mikautadze": {
          "player_id": 1009372,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 176,
          "market_value": 32000000,
          "stats": {
            "expected_goals": 0.529,
            "goal_rate": 0.348,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.1025,
            "key_pass": 1,
            "rating": 7.3977,
            "minutes": 75,
            "total_pass": 24,
            "accurate_pass": 20,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 16,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 39,
            "possession_lost": 11.2309,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 4,
            "won_contest": 2,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 13,
            "total_progression": 54,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 40.0,
            "shotConversion": 0.1,
            "minutesPct": 92.2,
            "pointsPerMatch": 0.67,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.264,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Axel Tape, Ifeanyi Ndukwe",
            "opponent_faced": "Axel Tape, Ifeanyi Ndukwe",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.4963,
            "projected_assists": 0,
            "assist_probability": 0.1039,
            "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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 28,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.1751,
                "expected_assists": 0.0337,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 13,
                "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": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 82,
                "rating": 6.4,
                "assists": 0,
                "expected_goals": 0.215,
                "expected_assists": 0.1187,
                "total_shots": 1,
                "total_pass": 24,
                "accurate_pass": 20,
                "key_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"
            },
            {
              "match_id": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 79,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 1.7893,
                "expected_assists": 0.2452,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 21,
                "accurate_pass": 17,
                "key_pass": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061.0,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assists": 1,
                "expected_goals": 0.2206,
                "expected_assists": 0.4077,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 25,
                "key_pass": 2,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1648,
            "combined_rank_score": 667.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 371.0,
            "sofascore_rating": 6.9688,
            "sofascore_appearances": 32.0,
            "fifa_rank": 964.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "projected_match_rating": 7.3977,
            "source_file": "data/player_rankings.csv",
            "player_name": "Georges Mikautadze",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Andrew Robertson",
                  "ranking": 1643
                },
                {
                  "player_name": "Dango Ouattara",
                  "ranking": 1644
                },
                {
                  "player_name": "Aziz Kholmurodov",
                  "ranking": 1645
                },
                {
                  "player_name": "Uroš Kojić",
                  "ranking": 1646
                },
                {
                  "player_name": "Josh Risdon",
                  "ranking": 1647
                }
              ],
              "lower": [
                {
                  "player_name": "Trai Hume",
                  "ranking": 1649
                },
                {
                  "player_name": "Alfonso Pedraza",
                  "ranking": 1650
                },
                {
                  "player_name": "Lukáš Provod",
                  "ranking": 1651
                },
                {
                  "player_name": "Isi Palazón",
                  "ranking": 1652
                },
                {
                  "player_name": "Walter Benítez",
                  "ranking": 1653
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.528,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.528,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0696,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 249.0,
              "goals_per90": 0.3571428571428571,
              "assists_per90": 0.3571428571428571,
              "shots_per90": 3.61,
              "shots_on_target_pct": 40.0,
              "prior_reliability": 0.1867
            },
            "rationale": "XGBoost regressor (F_service) evaluated 4 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.19, gls/90: 0.3571428571428571, ast/90: 0.3571428571428571)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2729,
                "goal_rate": 0.3247,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0958,
                "key_pass": 1,
                "rating": 6.9163,
                "minutes": 70,
                "total_pass": 22,
                "accurate_pass": 19,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 10.5,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 12,
                "total_progression": 51,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "minutesPlayed": 65.9157,
                  "totalShots": 2.7989,
                  "onTargetScoringAttempt": 0.8389,
                  "touches": 34.983,
                  "dribbleValueNormalized": 0.2886
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.27292904257774353,
                    "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.0381
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0286
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0155
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0145
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0142
                        }
                      ],
                      "others": -0.0375,
                      "total": 0.2729
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.3246653974056244,
                    "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": "totalShots",
                          "contribution": 0.1056
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.082
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0261
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0193
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0113
                        }
                      ],
                      "others": -0.0103,
                      "total": 0.3247
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6507524847984314,
                    "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.0423
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.04
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0173
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0132
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0103
                        }
                      ],
                      "others": -0.0206,
                      "total": 0.6508
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.6114445924758911,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1406
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0874
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0809
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0795
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0708
                        }
                      ],
                      "others": 0.2232,
                      "total": 1.6114
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09583894908428192,
                    "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.0129
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0078
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0083
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0071
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0063
                        }
                      ],
                      "others": 0.0081,
                      "total": 0.0958
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7706884741783142,
                    "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.1285
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0623
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0351
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0222
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0214
                        }
                      ],
                      "others": 0.0131,
                      "total": 0.7707
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.916319847106934,
                    "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.0917
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0445
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0403
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0397
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0334
                        }
                      ],
                      "others": 0.1089,
                      "total": 6.9163
                    }
                  }
                ],
                "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.0696, quality 0.732)",
              "stats": {
                "expected_goals": 0.2919,
                "goal_rate": 0.3473,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1025,
                "key_pass": 1,
                "rating": 7.3977,
                "minutes": 75,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2309,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 54,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 32000000,
                "quality_factor": 0.732,
                "boost_factor": 1.0696
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0674)",
              "stats": {
                "expected_goals": 0.2919,
                "goal_rate": 0.348,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1025,
                "key_pass": 1,
                "rating": 7.3977,
                "minutes": 75,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2309,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 54,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 40.0,
                "shotConversion": 0.1,
                "minutesPct": 92.2,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0674,
                "history_matches": 4,
                "prior_reliability": 0.1867,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.7236,
                  "after": 1.8508
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.696,
                  "after": 0.7468
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0482
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0482
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0482
                },
                {
                  "stat": "totalOffside",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "goalAssist",
                  "before": 0.2674,
                  "after": 0.2735
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2919,
                "goal_rate": 0.348,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1025,
                "key_pass": 1,
                "rating": 7.3977,
                "minutes": 75,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2309,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 54,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 40.0,
                "shotConversion": 0.1,
                "minutesPct": 92.2,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.2243,
                "goal_rate": 0.348,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1025,
                "key_pass": 1,
                "rating": 7.3977,
                "minutes": 75,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2309,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 54,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 40.0,
                "shotConversion": 0.1,
                "minutesPct": 92.2,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Axel Tape, Ifeanyi Ndukwe",
                "opponent_faced": "Axel Tape, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Axel Tape, Ifeanyi Ndukwe",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.264,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_override": 0.2243
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.8508,
                  "after": 2.4
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2919,
                  "after": 0.2243
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "expected_goals": 0.529,
                "goal_rate": 0.348,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1025,
                "key_pass": 1,
                "rating": 7.3977,
                "minutes": 75,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2309,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 54,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 40.0,
                "shotConversion": 0.1,
                "minutesPct": 92.2,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Axel Tape, Ifeanyi Ndukwe",
                "opponent_faced": "Axel Tape, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2243,
                  "after": 0.529
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 3, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.529,
                "goal_rate": 0.348,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1025,
                "key_pass": 1,
                "rating": 7.3977,
                "minutes": 75,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2309,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 54,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 40.0,
                "shotConversion": 0.1,
                "minutesPct": 92.2,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Axel Tape, Ifeanyi Ndukwe",
                "opponent_faced": "Axel Tape, Ifeanyi Ndukwe",
                "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": 3,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1648,
                "fifa_rank": 964.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.529,
                "goal_rate": 0.348,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1025,
                "key_pass": 1,
                "rating": 7.3977,
                "minutes": 75,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2309,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 54,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 40.0,
                "shotConversion": 0.1,
                "minutesPct": 92.2,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Axel Tape, Ifeanyi Ndukwe",
                "opponent_faced": "Axel Tape, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4963,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.4963,
                "scorer_weight": 5.1863,
                "squad_weight_total": 10.4492,
                "weight_share": 0.4963,
                "position_multiplier": 1.45
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.529,
                "goal_rate": 0.348,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1025,
                "key_pass": 1,
                "rating": 7.3977,
                "minutes": 75,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2309,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 54,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 40.0,
                "shotConversion": 0.1,
                "minutesPct": 92.2,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Axel Tape, Ifeanyi Ndukwe",
                "opponent_faced": "Axel Tape, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4963,
                "projected_assists": 0,
                "assist_probability": 0.1039,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1039,
                "provider_weight": 0.8851,
                "squad_weight_total": 8.5159,
                "weight_share": 0.1039,
                "position_multiplier": 0.85
              }
            }
          ]
        }
      },
      "bench_players": {
        "Péter Gulácsi": {
          "player_id": 37096,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 25,
          "height": 190,
          "market_value": 970000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.022,
            "rating": 6.8,
            "minutes": 4,
            "total_pass": 1,
            "accurate_pass": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "touches": 2,
            "clearances": 0,
            "ball_recovery": 0,
            "high_claims": 0,
            "punches": 0.0146,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1171,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.197,
            "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": 82.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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            }
          ],
          "ranking": {
            "global_player_rank": 616,
            "combined_rank_score": 318.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 409.0,
            "fifa_overall": 82.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": "Péter Gulácsi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mender García",
                  "ranking": 611
                },
                {
                  "player_name": "José Fajardo",
                  "ranking": 612
                },
                {
                  "player_name": "Konstantinos Fortounis",
                  "ranking": 613
                },
                {
                  "player_name": "N'Golo Kanté",
                  "ranking": 614
                },
                {
                  "player_name": "Mason Greenwood",
                  "ranking": 615
                }
              ],
              "lower": [
                {
                  "player_name": "Oliver Baumann",
                  "ranking": 617
                },
                {
                  "player_name": "Iñigo Martínez",
                  "ranking": 618
                },
                {
                  "player_name": "Omar Marmoush",
                  "ranking": 619
                },
                {
                  "player_name": "Pathé Ismaël Ciss",
                  "ranking": 620
                },
                {
                  "player_name": "Riccardo Orsolini",
                  "ranking": 621
                }
              ]
            }
          },
          "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": "Villarreal",
              "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 (€970,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": 970000,
                "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": "Villarreal"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0146,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1171,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0146,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1171,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 18, fifa_overall 82.0)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0146,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1171,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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": 82.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 616,
                "fifa_rank": 409.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 82.0
              }
            }
          ]
        },
        "Alexander Freeman": {
          "player_id": 1184541,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 3,
          "height": 188,
          "market_value": 9200000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.6841,
            "minutes": 14,
            "total_pass": 6,
            "accurate_pass": 6,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 8,
            "possession_lost": 0.5153,
            "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.0046,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 8,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.312,
            "bench_expected_minutes": 13.87,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.197,
            "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": 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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.0716,
                "expected_assists": 0.0423,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 83,
                "accurate_pass": 80,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 28,
                "rating": 7.1,
                "assists": 0,
                "expected_assists": 0.059,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 30,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061.0,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 2,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 416,
            "combined_rank_score": 378.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 257.0,
            "sofascore_rating": 7.1,
            "sofascore_appearances": 2.0,
            "fifa_rank": 500.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "projected_match_rating": 6.6841,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alexander Freeman",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Itsuki Urata",
                  "ranking": 411
                },
                {
                  "player_name": "Chi-Won Choi",
                  "ranking": 412
                },
                {
                  "player_name": "Youssef Enriquez",
                  "ranking": 413
                },
                {
                  "player_name": "Beom Song",
                  "ranking": 414
                },
                {
                  "player_name": "Irakli Azarovi",
                  "ranking": 415
                }
              ],
              "lower": [
                {
                  "player_name": "Johaneko Louis Jean",
                  "ranking": 417
                },
                {
                  "player_name": "Roman Begunov",
                  "ranking": 418
                },
                {
                  "player_name": "Cristhian Paredes",
                  "ranking": 419
                },
                {
                  "player_name": "Alex Sandro",
                  "ranking": 420
                },
                {
                  "player_name": "Ismoilbek Usmonxo'jayev",
                  "ranking": 421
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.871536137511768,
            "bench_appearance_prob": 0.3123425517050804,
            "market_value_adjustment": 1.0039,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (3 historical appearances) to 13.9 expected mins (appearance prob 0.31)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6581,
                "minutes": 40,
                "total_pass": 40,
                "accurate_pass": 38,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 3.33,
                "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.03,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 50,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 2.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": null
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "touches_p90": 148.3028,
                  "accuratePass": 41.8533,
                  "possessionLostCtrl": 3.38,
                  "totalClearance": 0.7775,
                  "totalClearance_p90": 0.7775
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.695639967918396,
                    "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.258
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0563
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0268
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0189
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.019
                        }
                      ],
                      "others": -0.0246,
                      "total": 0.6956
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.196031928062439,
                    "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.0729
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0673
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0407
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0386
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0294
                        }
                      ],
                      "others": 0.0896,
                      "total": 1.196
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7123515009880066,
                    "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.1226
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0753
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0622
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0422
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0367
                        }
                      ],
                      "others": 0.0595,
                      "total": 0.7124
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.0131217241287231,
                    "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.736
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1923
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1425
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0701
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.06
                        }
                      ],
                      "others": -0.1892,
                      "total": 1.0131
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7935556173324585,
                    "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.3291
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0406
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0381
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0274
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0244
                        }
                      ],
                      "others": -0.0377,
                      "total": 0.7936
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3066791594028473,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1814
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0467
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0301
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0256
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0231
                        }
                      ],
                      "others": -0.0424,
                      "total": 0.3067
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.658129692077637,
                    "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.0847
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.077
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0459
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0339
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0302
                        }
                      ],
                      "others": 0.0373,
                      "total": 6.6581
                    }
                  }
                ],
                "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": 1,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6841,
                "minutes": 40,
                "total_pass": 40,
                "accurate_pass": 38,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 3.343,
                "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.0301,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 51,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 9200000,
                "quality_factor": 0.513,
                "boost_factor": 1.0039
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.9 expected minutes (appearance prob 0.31)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.6841,
                "minutes": 14,
                "total_pass": 6,
                "accurate_pass": 6,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 0.5153,
                "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.0046,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.312,
                "bench_expected_minutes": 13.87
              },
              "params": {
                "expected_minutes": 13.87,
                "appearance_probability": 0.312
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.6841,
                "minutes": 14,
                "total_pass": 6,
                "accurate_pass": 6,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 0.5153,
                "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.0046,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.312,
                "bench_expected_minutes": 13.87
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 13, fifa_overall 81.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.6841,
                "minutes": 14,
                "total_pass": 6,
                "accurate_pass": 6,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 0.5153,
                "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.0046,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.312,
                "bench_expected_minutes": 13.87,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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": 81.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 416,
                "fifa_rank": 500.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 81.0
              }
            }
          ]
        },
        "Juan Foyth": {
          "player_id": 873189,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 187,
          "market_value": 8600000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.9342,
            "minutes": 14,
            "total_pass": 12,
            "accurate_pass": 11,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 7,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 1.0278,
            "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.0185,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 5,
            "total_progression": 20,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.6667,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 25.0,
            "shotConversion": 0.0,
            "minutesPct": 100.0,
            "pointsPerMatch": 0.67,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.222,
            "bench_expected_minutes": 13.84,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.197,
            "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_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assists": 0,
                "expected_goals": 0.3212,
                "expected_assists": 0.0206,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 88,
                "accurate_pass": 83,
                "tackles": 5,
                "tackles_won": 4,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 4,
                "duels_won": 11,
                "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.2948,
                "total_shots": 0,
                "total_pass": 68,
                "accurate_pass": 62,
                "key_pass": 1,
                "interceptions": 3,
                "clearances": 4,
                "aerial_won": 3,
                "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": 16421061.0,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assists": 0,
                "expected_assists": 0.0313,
                "total_shots": 0,
                "total_pass": 75,
                "accurate_pass": 68,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 8,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1291,
            "combined_rank_score": 559.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 962.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "projected_match_rating": 6.9342,
            "source_file": "data/player_rankings.csv",
            "player_name": "Juan Foyth",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mario Hermoso",
                  "ranking": 1286
                },
                {
                  "player_name": "Giovani Lo Celso",
                  "ranking": 1287
                },
                {
                  "player_name": "Lucas Torreira",
                  "ranking": 1288
                },
                {
                  "player_name": "Diego Ulloa",
                  "ranking": 1289
                },
                {
                  "player_name": "David Neres",
                  "ranking": 1290
                }
              ],
              "lower": [
                {
                  "player_name": "Patrick Berg",
                  "ranking": 1292
                },
                {
                  "player_name": "Nicholas Pennington",
                  "ranking": 1293
                },
                {
                  "player_name": "Park Jae-Hwan",
                  "ranking": 1294
                },
                {
                  "player_name": "Franco Frías",
                  "ranking": 1295
                },
                {
                  "player_name": "César Fuentes",
                  "ranking": 1296
                }
              ]
            }
          },
          "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",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.467,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.843259726989771,
            "bench_appearance_prob": 0.222,
            "market_value_adjustment": 1.0018,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "Bench projection scaled from XGBoost D_service (3 historical appearances) to 13.8 expected mins (appearance prob 0.22); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.922,
                "minutes": 90,
                "total_pass": 77,
                "accurate_pass": 71,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 43,
                "accurate_own_half_passes": 41,
                "total_opp_half_passes": 34,
                "accurate_opp_half_passes": 30,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 95,
                "possession_lost": 6.67,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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.12,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 30,
                "total_progression": 131,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "touches_p90": 95.3197,
                  "accuratePass": 71.8484,
                  "possessionLostCtrl": 6.6113,
                  "totalClearance": 5.1234,
                  "totalClearance_p90": 5.1234
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9868907928466797,
                    "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.1711
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0816
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0383
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.03
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0223
                        }
                      ],
                      "others": 0.075,
                      "total": 0.9869
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3349201679229736,
                    "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.1456
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.069
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0611
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0592
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0492
                        }
                      ],
                      "others": -0.0459,
                      "total": 1.3349
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8444713354110718,
                    "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.166
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0636
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0659
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0448
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0404
                        }
                      ],
                      "others": 0.0987,
                      "total": 0.8445
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.3317742347717285,
                    "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.4641
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.202
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.1671
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0946
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0708
                        }
                      ],
                      "others": 0.1924,
                      "total": 2.3318
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.1127806901931763,
                    "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.3555
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0442
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0425
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0408
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0368
                        }
                      ],
                      "others": 0.0619,
                      "total": 1.1128
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.286263644695282,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.198
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0434
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0332
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0245
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0244
                        }
                      ],
                      "others": 0.0668,
                      "total": 0.2863
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.921993732452393,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "totalProgression",
                          "contribution": 0.1035
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0497
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0312
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0251
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0191
                        }
                      ],
                      "others": 0.1191,
                      "total": 6.922
                    }
                  }
                ],
                "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": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.9342,
                "minutes": 90,
                "total_pass": 77,
                "accurate_pass": 71,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 43,
                "accurate_own_half_passes": 41,
                "total_opp_half_passes": 34,
                "accurate_opp_half_passes": 30,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 95,
                "possession_lost": 6.6818,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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.1202,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 30,
                "total_progression": 131,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "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": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.9342,
                "minutes": 90,
                "total_pass": 77,
                "accurate_pass": 71,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 43,
                "accurate_own_half_passes": 41,
                "total_opp_half_passes": 34,
                "accurate_opp_half_passes": 30,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 95,
                "possession_lost": 6.6818,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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.1202,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 30,
                "total_progression": 131,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": -0.33
              },
              "params": {
                "blend_weight": 0.0813,
                "history_matches": 3,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.9886,
                  "after": 1.0979
                },
                {
                  "stat": "totalShots",
                  "before": 0.2868,
                  "after": 0.3716
                },
                {
                  "stat": "wonTackle",
                  "before": 0.846,
                  "after": 0.9127
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.0,
                  "after": 0.0268
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.8 expected minutes (appearance prob 0.22)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.9342,
                "minutes": 14,
                "total_pass": 12,
                "accurate_pass": 11,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 1.0278,
                "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.0185,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 20,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.222,
                "bench_expected_minutes": 13.84
              },
              "params": {
                "expected_minutes": 13.84,
                "appearance_probability": 0.222
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.9342,
                "minutes": 14,
                "total_pass": 12,
                "accurate_pass": 11,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 1.0278,
                "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.0185,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 20,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.222,
                "bench_expected_minutes": 13.84
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 14, fifa_overall 79.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.9342,
                "minutes": 14,
                "total_pass": 12,
                "accurate_pass": 11,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 1.0278,
                "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.0185,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 20,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.222,
                "bench_expected_minutes": 13.84,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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": 14,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1291,
                "fifa_rank": 962.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Nathan-Dylan Saliba": {
          "player_id": 1093229,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 173,
          "market_value": 9200000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0211,
            "assists": 0,
            "expected_goals": 0.0248,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7223,
            "minutes": 22,
            "total_pass": 18,
            "accurate_pass": 17,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 11,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 1.9874,
            "dispossessed": 1.0039,
            "duels_lost": 1,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 2,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 5,
            "total_progression": 12,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.512,
            "bench_expected_minutes": 22.27,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.197,
            "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": 71.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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assists": 0,
                "expected_goals": 0.1151,
                "expected_assists": 0.1364,
                "total_shots": 1,
                "total_pass": 73,
                "accurate_pass": 67,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 10,
                "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": 4406,
            "combined_rank_score": 2430.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 4706.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "projected_match_rating": 6.7223,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nathan-Dylan Saliba",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Francés",
                  "ranking": 4401
                },
                {
                  "player_name": "Florin Tănase",
                  "ranking": 4402
                },
                {
                  "player_name": "Víctor García",
                  "ranking": 4403
                },
                {
                  "player_name": "Kings Kangwa",
                  "ranking": 4404
                },
                {
                  "player_name": "Soualiho Meïté",
                  "ranking": 4405
                }
              ],
              "lower": [
                {
                  "player_name": "Luca Koleosho",
                  "ranking": 4407
                },
                {
                  "player_name": "Anastasios Bakasetas",
                  "ranking": 4408
                },
                {
                  "player_name": "Rick van Drongelen",
                  "ranking": 4409
                },
                {
                  "player_name": "Rodrigo Echeverría",
                  "ranking": 4410
                },
                {
                  "player_name": "Romaine Mundle",
                  "ranking": 4411
                }
              ]
            }
          },
          "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",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.271536137511767,
            "bench_appearance_prob": 0.5123425517050804,
            "market_value_adjustment": 1.0039,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (1 historical appearances) to 22.3 expected mins (appearance prob 0.51)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.085,
                "assists": 0,
                "expected_goals": 0.0421,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6961,
                "minutes": 90,
                "total_pass": 73,
                "accurate_pass": 67,
                "duels_won": 10,
                "total_long_balls": 4,
                "accurate_long_balls": 3,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 51,
                "accurate_opp_half_passes": 46,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 92,
                "possession_lost": 8.0,
                "dispossessed": 1.0,
                "duels_lost": 4,
                "aerial_won": 3,
                "aerial_lost": 1,
                "interceptions": 3,
                "tackles_won": 3,
                "tackles": 5,
                "clearances": 3,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 49,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 1.0,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.0,
                  "ballRecovery_p90": 2.0,
                  "progressiveBallCarriesCount": 1.0,
                  "expectedAssists": 0.1364,
                  "ballRecovery": 2.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.9802777767181396,
                    "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.169
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0549
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0374
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0328
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.025
                        }
                      ],
                      "others": 0.1049,
                      "total": 0.9803
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08495140820741653,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0151
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.011
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0052
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0041
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0041
                        }
                      ],
                      "others": 0.013,
                      "total": 0.085
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.11721768230199814,
                    "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": "duelLost",
                          "contribution": 0.0054
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0049
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0041
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0043
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0037
                        }
                      ],
                      "others": 0.009,
                      "total": 0.1172
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04212000221014023,
                    "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.0211
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0119
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0096
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0061
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0054
                        }
                      ],
                      "others": -0.0125,
                      "total": 0.0421
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.28342205286026,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0414
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0264
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0172
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0117
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0095
                        }
                      ],
                      "others": 0.0044,
                      "total": 0.2834
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7996326088905334,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2148
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.1071
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0801
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0562
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0485
                        }
                      ],
                      "others": 0.0337,
                      "total": 0.7996
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.696115016937256,
                    "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.3556
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0564
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0525
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0344
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0323
                        }
                      ],
                      "others": 0.1089,
                      "total": 6.6961
                    }
                  }
                ],
                "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": {
                "key_pass": 1,
                "expected_assists": 0.0853,
                "assists": 0,
                "expected_goals": 0.0423,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7223,
                "minutes": 90,
                "total_pass": 73,
                "accurate_pass": 67,
                "duels_won": 10,
                "total_long_balls": 4,
                "accurate_long_balls": 3,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 51,
                "accurate_opp_half_passes": 46,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 92,
                "possession_lost": 8.0312,
                "dispossessed": 1.0039,
                "duels_lost": 4,
                "aerial_won": 3,
                "aerial_lost": 1,
                "interceptions": 3,
                "tackles_won": 3,
                "tackles": 5,
                "clearances": 3,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 49,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 9200000,
                "quality_factor": 0.513,
                "boost_factor": 1.0039
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.3 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0211,
                "assists": 0,
                "expected_goals": 0.0105,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7223,
                "minutes": 22,
                "total_pass": 18,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 23,
                "possession_lost": 1.9874,
                "dispossessed": 1.0039,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 12,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27
              },
              "params": {
                "expected_minutes": 22.27,
                "appearance_probability": 0.512
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0211,
                "assists": 0,
                "expected_goals": 0.0105,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7223,
                "minutes": 22,
                "total_pass": 18,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 23,
                "possession_lost": 1.9874,
                "dispossessed": 1.0039,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 12,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0211,
                "assists": 0,
                "expected_goals": 0.0248,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7223,
                "minutes": 22,
                "total_pass": 18,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 23,
                "possession_lost": 1.9874,
                "dispossessed": 1.0039,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 12,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0105,
                  "after": 0.0248
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 12, fifa_overall 71.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0211,
                "assists": 0,
                "expected_goals": 0.0248,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7223,
                "minutes": 22,
                "total_pass": 18,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 23,
                "possession_lost": 1.9874,
                "dispossessed": 1.0039,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 12,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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": 71.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4406,
                "fifa_rank": 4706.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 71.0
              }
            }
          ]
        },
        "Santi Comesaña": {
          "player_id": 843678,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 14,
          "height": 187,
          "market_value": 8400000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0127,
            "assists": 0,
            "expected_goals": 0.0059,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.8093,
            "minutes": 22,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 1.7929,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 5,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "offsides": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 73.7,
            "pointsPerMatch": 0.67,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.312,
            "bench_expected_minutes": 22.23,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.197,
            "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_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 28,
                "rating": 6.3,
                "assists": 0,
                "expected_assists": 0.0293,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 24,
                "key_pass": 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": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0546,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 46,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 84,
                "rating": 6.1,
                "assists": 0,
                "expected_assists": 0.0171,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 43,
                "interceptions": 1,
                "clearances": 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": 16421061.0,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 56,
                "rating": 6.2,
                "assists": 0,
                "expected_assists": 0.459,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 26,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1902,
            "combined_rank_score": 735.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 511.0,
            "sofascore_rating": 6.85,
            "sofascore_appearances": 34.0,
            "fifa_rank": 960.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "projected_match_rating": 6.8093,
            "source_file": "data/player_rankings.csv",
            "player_name": "Santi Comesaña",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jeong-hwan Kim",
                  "ranking": 1897
                },
                {
                  "player_name": "Ahmet Arslan",
                  "ranking": 1898
                },
                {
                  "player_name": "Matteo Gabbia",
                  "ranking": 1899
                },
                {
                  "player_name": "Otabek Jurakuziev",
                  "ranking": 1900
                },
                {
                  "player_name": "Choi Han-sol",
                  "ranking": 1901
                }
              ],
              "lower": [
                {
                  "player_name": "Federico Lanzillotta",
                  "ranking": 1903
                },
                {
                  "player_name": "Dong-su Lee",
                  "ranking": 1904
                },
                {
                  "player_name": "Armand Laurienté",
                  "ranking": 1905
                },
                {
                  "player_name": "Álex Jiménez",
                  "ranking": 1906
                },
                {
                  "player_name": "Carlos Baleba",
                  "ranking": 1907
                }
              ]
            }
          },
          "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",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.522,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.233793669464315,
            "bench_appearance_prob": 0.312,
            "market_value_adjustment": 1.001,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "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.1467
            },
            "rationale": "Bench projection scaled from XGBoost M_service (4 historical appearances) to 22.2 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 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0515,
                "assists": 0,
                "expected_goals": 0.0239,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8022,
                "minutes": 58,
                "total_pass": 40,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 20,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 7.25,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 20,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.0,
                  "ballRecovery_p90": 3.9745,
                  "progressiveBallCarriesCount": 0.0,
                  "expectedAssists": 0.1161,
                  "ballRecovery": 2.074
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.8509504795074463,
                    "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.1838
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0667
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0422
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0413
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0246
                        }
                      ],
                      "others": -0.0599,
                      "total": 0.851
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05153218284249306,
                    "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.0198
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0104
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0042
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0031
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0096,
                      "total": 0.0515
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07992318272590637,
                    "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.0087
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0052
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0049
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.004
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0022
                        }
                      ],
                      "others": -0.0055,
                      "total": 0.0799
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.023898687213659286,
                    "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.0282
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0198
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0084
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0065
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0184,
                      "total": 0.0239
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2193264216184616,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0325
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0196
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0157
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0119
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0104
                        }
                      ],
                      "others": -0.023,
                      "total": 0.2193
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5148211121559143,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2255
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.1283
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1202
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0541
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0383
                        }
                      ],
                      "others": -0.2338,
                      "total": 0.5148
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.802213668823242,
                    "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.0643
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0295
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0168
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0152
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0106
                        }
                      ],
                      "others": 0.0216,
                      "total": 6.8022
                    }
                  }
                ],
                "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.0516,
                "assists": 0,
                "expected_goals": 0.0239,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8093,
                "minutes": 58,
                "total_pass": 41,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 15,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 20,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 7.2576,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 20,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "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.0516,
                "assists": 0,
                "expected_goals": 0.0239,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8093,
                "minutes": 58,
                "total_pass": 41,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 15,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 20,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 7.2576,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 20,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 73.7,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.053,
                "history_matches": 4,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0963
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "totalShots",
                  "before": 0.5154,
                  "after": 0.4881
                },
                {
                  "stat": "fouls",
                  "before": 2.2524,
                  "after": 2.2776
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2196,
                  "after": 0.208
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.2 expected minutes (appearance prob 0.31)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0127,
                "assists": 0,
                "expected_goals": 0.0059,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8093,
                "minutes": 22,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.7929,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 73.7,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.312,
                "bench_expected_minutes": 22.23
              },
              "params": {
                "expected_minutes": 22.23,
                "appearance_probability": 0.312
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0127,
                "assists": 0,
                "expected_goals": 0.0059,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8093,
                "minutes": 22,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.7929,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 73.7,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.312,
                "bench_expected_minutes": 22.23
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 15, fifa_overall 79.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0127,
                "assists": 0,
                "expected_goals": 0.0059,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8093,
                "minutes": 22,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.7929,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 73.7,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.312,
                "bench_expected_minutes": 22.23,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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": 15,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1902,
                "fifa_rank": 960.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Tani Oluwaseyi": {
          "player_id": 1172477,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 21,
          "height": 188,
          "market_value": 7500000,
          "stats": {
            "expected_goals": 0.0384,
            "goal_rate": 0.023,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0031,
            "key_pass": 0,
            "rating": 6.6644,
            "minutes": 16,
            "total_pass": 0,
            "accurate_pass": 0,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 1,
            "possession_lost": 0.294,
            "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,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 5.9,
            "pointsPerMatch": 0.5,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.723,
            "bench_expected_minutes": 15.88,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.197,
            "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": 71.0
          },
          "latest_10_games": [
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 13,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.007,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 8,
                "rating": 6.4,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 15,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "clearances": 2,
                "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": 4879,
            "combined_rank_score": 2974.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 914.0,
            "sofascore_rating": 6.504,
            "sofascore_appearances": 27.0,
            "fifa_rank": 5035.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "projected_match_rating": 6.6644,
            "source_file": "data/player_rankings.csv",
            "player_name": "Tani Oluwaseyi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Yazan Al Arab",
                  "ranking": 4874
                },
                {
                  "player_name": "Lee Chang Geun",
                  "ranking": 4875
                },
                {
                  "player_name": "Song Bum Keun",
                  "ranking": 4876
                },
                {
                  "player_name": "Renato Steffen",
                  "ranking": 4877
                },
                {
                  "player_name": "Edimilson Fernandes",
                  "ranking": 4878
                }
              ],
              "lower": [
                {
                  "player_name": "Cédric Zesiger",
                  "ranking": 4880
                },
                {
                  "player_name": "Timothé Cognat",
                  "ranking": 4881
                },
                {
                  "player_name": "Alvyn Sanches",
                  "ranking": 4882
                },
                {
                  "player_name": "Mattia Zanotti",
                  "ranking": 4883
                },
                {
                  "player_name": "Silas Andersen",
                  "ranking": 4884
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.439,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.439,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 15.88,
            "bench_appearance_prob": 0.723,
            "market_value_adjustment": 0.9978,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "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 F_service (3 historical appearances) to 15.9 expected mins (appearance prob 0.72); FBref playing time empirical prior: 2.0 sub appearances, 8.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0924,
                "goal_rate": 0.1313,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0177,
                "key_pass": 0,
                "rating": 6.6791,
                "minutes": 12,
                "total_pass": 2,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.67,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "minutesPlayed": 11.9096,
                  "totalShots": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "touches": 4.6783,
                  "dribbleValueNormalized": -0.0157
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09236608445644379,
                    "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.0592
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0401
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0171
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0099
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0081
                        }
                      ],
                      "others": -0.0489,
                      "total": 0.0924
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13130521774291992,
                    "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.0713
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0412
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0302
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0263
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0123
                        }
                      ],
                      "others": -0.0575,
                      "total": 0.1313
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.49849429726600647,
                    "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.0425
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0367
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0357
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.013
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0111
                        }
                      ],
                      "others": -0.089,
                      "total": 0.4985
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8057452440261841,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2372
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1616
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0598
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0298
                        },
                        {
                          "name": "speed_threat",
                          "contribution": -0.0278
                        }
                      ],
                      "others": -0.2091,
                      "total": 0.8057
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.017674116417765617,
                    "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.0126
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0064
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0049
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0041
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.0086,
                      "total": 0.0177
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3206009864807129,
                    "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.2083
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.032
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.025
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0222
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0181
                        }
                      ],
                      "others": -0.0567,
                      "total": 0.3206
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6791300773620605,
                    "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.1432
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.091
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0553
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0511
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0384
                        }
                      ],
                      "others": 0.0857,
                      "total": 6.6791
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9978, quality 0.493)",
              "stats": {
                "expected_goals": 0.0922,
                "goal_rate": 0.131,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0176,
                "key_pass": 0,
                "rating": 6.6644,
                "minutes": 12,
                "total_pass": 2,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.6663,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9978
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0054)",
              "stats": {
                "expected_goals": 0.0922,
                "goal_rate": 0.1303,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0176,
                "key_pass": 0,
                "rating": 6.6644,
                "minutes": 12,
                "total_pass": 2,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.6663,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": -5.63
              },
              "params": {
                "blend_weight": 0.0054,
                "history_matches": 3,
                "prior_reliability": 0.0133,
                "competition": "La Liga",
                "squad": "Villarreal"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 15.9 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0163,
                "goal_rate": 0.023,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0031,
                "key_pass": 0,
                "rating": 6.6644,
                "minutes": 16,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.294,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.723,
                "bench_expected_minutes": 15.88
              },
              "params": {
                "expected_minutes": 15.88,
                "appearance_probability": 0.723
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0163,
                "goal_rate": 0.023,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0031,
                "key_pass": 0,
                "rating": 6.6644,
                "minutes": 16,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.294,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.723,
                "bench_expected_minutes": 15.88
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "expected_goals": 0.0384,
                "goal_rate": 0.023,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0031,
                "key_pass": 0,
                "rating": 6.6644,
                "minutes": 16,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.294,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.723,
                "bench_expected_minutes": 15.88,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0163,
                  "after": 0.0384
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 16, fifa_overall 71.0)",
              "stats": {
                "expected_goals": 0.0384,
                "goal_rate": 0.023,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0031,
                "key_pass": 0,
                "rating": 6.6644,
                "minutes": 16,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.294,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.723,
                "bench_expected_minutes": 15.88,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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": 71.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4879,
                "fifa_rank": 5035.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 71.0
              }
            }
          ]
        },
        "Nicolas Pépé": {
          "player_id": 593526,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 183,
          "market_value": 6600000,
          "stats": {
            "expected_goals": 0.1686,
            "goal_rate": 0.1183,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0172,
            "key_pass": 0,
            "rating": 7.0183,
            "minutes": 25,
            "total_pass": 13,
            "accurate_pass": 11,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 10,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 20,
            "possession_lost": 4.6435,
            "dispossessed": 1.7404,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1182,
            "offsides": 0,
            "ball_carries": 7,
            "total_progression": 27,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "yellowCards": 0.3704,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 71.4,
            "shotConversion": 0.14,
            "minutesPct": 90.4,
            "pointsPerMatch": 0.67,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.338,
            "bench_expected_minutes": 25.47,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.197,
            "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": 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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.2768,
                "expected_assists": 0.2635,
                "total_shots": 5,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 62,
                "accurate_pass": 55,
                "key_pass": 4,
                "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": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.2524,
                "expected_assists": 0.4359,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 49,
                "accurate_pass": 42,
                "key_pass": 4,
                "tackles": 1,
                "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 79,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.1005,
                "expected_assists": 0.2611,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 31,
                "accurate_pass": 30,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061.0,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 77,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.0802,
                "expected_assists": 0.232,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 38,
                "accurate_pass": 33,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 560,
            "combined_rank_score": 308.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 44.0,
            "sofascore_rating": 7.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 572.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "projected_match_rating": 7.0183,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nicolas Pépé",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Joseph Otunenche",
                  "ranking": 555
                },
                {
                  "player_name": "Dean Huijsen",
                  "ranking": 556
                },
                {
                  "player_name": "Jarrod Bowen",
                  "ranking": 557
                },
                {
                  "player_name": "Ivan Alonso Martin",
                  "ranking": 558
                },
                {
                  "player_name": "Marco Román",
                  "ranking": 559
                }
              ],
              "lower": [
                {
                  "player_name": "Javi Navarro",
                  "ranking": 561
                },
                {
                  "player_name": "Jordi Pesquer",
                  "ranking": 562
                },
                {
                  "player_name": "Diego Lacosta",
                  "ranking": 563
                },
                {
                  "player_name": "Luca Williams-Barnett",
                  "ranking": 564
                },
                {
                  "player_name": "Tynan Thompson",
                  "ranking": 565
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.527,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.527,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.467767132293673,
            "bench_appearance_prob": 0.338,
            "market_value_adjustment": 0.9945,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.3703703703703703,
              "assists_per90": 0.0,
              "prior_reliability": 0.18
            },
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 25.5 expected mins (appearance prob 0.34); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.254,
                "goal_rate": 0.4235,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 4,
                "expected_assists": 0.0611,
                "key_pass": 1,
                "rating": 7.0569,
                "minutes": 84,
                "total_pass": 45,
                "accurate_pass": 40,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 39,
                "accurate_opp_half_passes": 35,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 71,
                "possession_lost": 16.5,
                "dispossessed": 1.75,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 7,
                "won_contest": 3,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.42,
                "offsides": 0,
                "ball_carries": 25,
                "total_progression": 96,
                "progressive_carries": 5,
                "shots_off_target": 3
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.8
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "minutesPlayed": 85.0006,
                  "totalShots": 3.2082,
                  "onTargetScoringAttempt": 1.4595,
                  "touches": 73.6327,
                  "dribbleValueNormalized": 0.3248
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.25396957993507385,
                    "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.0474
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0389
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0243
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0203
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0176
                        }
                      ],
                      "others": 0.0004,
                      "total": 0.254
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.4234887659549713,
                    "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": "totalShots",
                          "contribution": 0.1084
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0277
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0226
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0225
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0224
                        }
                      ],
                      "others": -0.025,
                      "total": 0.4235
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.8273980021476746,
                    "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.0426
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0446
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0475
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0408
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.032
                        }
                      ],
                      "others": 0.051,
                      "total": 0.8274
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 3.554447650909424,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.81
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.4703
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2733
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.2699
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.2469
                        }
                      ],
                      "others": 0.4996,
                      "total": 3.5544
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06108085438609123,
                    "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.0134
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0122
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0067
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0066
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0065
                        }
                      ],
                      "others": 0.0086,
                      "total": 0.0611
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7500160932540894,
                    "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.1846
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0766
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0434
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0421
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0354
                        }
                      ],
                      "others": 0.141,
                      "total": 0.75
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.056930065155029,
                    "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.0941
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0911
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0884
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0786
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.071
                        }
                      ],
                      "others": 0.2791,
                      "total": 7.0569
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9945, quality 0.482)",
              "stats": {
                "expected_goals": 0.2526,
                "goal_rate": 0.4212,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 4,
                "expected_assists": 0.0607,
                "key_pass": 1,
                "rating": 7.0183,
                "minutes": 84,
                "total_pass": 45,
                "accurate_pass": 40,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 39,
                "accurate_opp_half_passes": 35,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 71,
                "possession_lost": 16.4097,
                "dispossessed": 1.7404,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 7,
                "won_contest": 3,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.4177,
                "offsides": 0,
                "ball_carries": 25,
                "total_progression": 96,
                "progressive_carries": 5,
                "shots_off_target": 3
              },
              "params": {
                "market_value_eur": 6600000,
                "quality_factor": 0.4818,
                "boost_factor": 0.9945
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0650)",
              "stats": {
                "expected_goals": 0.2526,
                "goal_rate": 0.4179,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 4,
                "expected_assists": 0.0607,
                "key_pass": 1,
                "rating": 7.0183,
                "minutes": 84,
                "total_pass": 45,
                "accurate_pass": 40,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 39,
                "accurate_opp_half_passes": 35,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 71,
                "possession_lost": 16.4097,
                "dispossessed": 1.7404,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 7,
                "won_contest": 3,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.4177,
                "offsides": 0,
                "ball_carries": 25,
                "total_progression": 96,
                "progressive_carries": 5,
                "shots_off_target": 3,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 71.4,
                "shotConversion": 0.14,
                "minutesPct": 90.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.065,
                "history_matches": 4,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8229,
                  "after": 0.889
                },
                {
                  "stat": "totalShots",
                  "before": 3.535,
                  "after": 3.4729
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "wasFouled",
                  "before": 1.2432,
                  "after": 1.2587
                },
                {
                  "stat": "totalCross",
                  "before": 3.4808,
                  "after": 3.4712
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.5 expected minutes (appearance prob 0.34)",
              "stats": {
                "expected_goals": 0.0715,
                "goal_rate": 0.1183,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0172,
                "key_pass": 0,
                "rating": 7.0183,
                "minutes": 25,
                "total_pass": 13,
                "accurate_pass": 11,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 4.6435,
                "dispossessed": 1.7404,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.1182,
                "offsides": 0,
                "ball_carries": 7,
                "total_progression": 27,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 71.4,
                "shotConversion": 0.14,
                "minutesPct": 90.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.338,
                "bench_expected_minutes": 25.47
              },
              "params": {
                "expected_minutes": 25.47,
                "appearance_probability": 0.338
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0715,
                "goal_rate": 0.1183,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0172,
                "key_pass": 0,
                "rating": 7.0183,
                "minutes": 25,
                "total_pass": 13,
                "accurate_pass": 11,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 4.6435,
                "dispossessed": 1.7404,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.1182,
                "offsides": 0,
                "ball_carries": 7,
                "total_progression": 27,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 71.4,
                "shotConversion": 0.14,
                "minutesPct": 90.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.338,
                "bench_expected_minutes": 25.47
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "expected_goals": 0.1686,
                "goal_rate": 0.1183,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0172,
                "key_pass": 0,
                "rating": 7.0183,
                "minutes": 25,
                "total_pass": 13,
                "accurate_pass": 11,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 4.6435,
                "dispossessed": 1.7404,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.1182,
                "offsides": 0,
                "ball_carries": 7,
                "total_progression": 27,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 71.4,
                "shotConversion": 0.14,
                "minutesPct": 90.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.338,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0715,
                  "after": 0.1686
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 17, fifa_overall 81.0)",
              "stats": {
                "expected_goals": 0.1686,
                "goal_rate": 0.1183,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0172,
                "key_pass": 0,
                "rating": 7.0183,
                "minutes": 25,
                "total_pass": 13,
                "accurate_pass": 11,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 4.6435,
                "dispossessed": 1.7404,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.1182,
                "offsides": 0,
                "ball_carries": 7,
                "total_progression": 27,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 71.4,
                "shotConversion": 0.14,
                "minutesPct": 90.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.338,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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": 81.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 560,
                "fifa_rank": 572.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 81.0
              }
            }
          ]
        }
      },
      "substitutes": {
        "Tani Oluwaseyi": {
          "player_id": 1172477,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 21,
          "height": 188,
          "market_value": 7500000,
          "stats": {
            "expected_goals": 0.0384,
            "goal_rate": 0.023,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0031,
            "key_pass": 0,
            "rating": 6.6644,
            "minutes": 16,
            "total_pass": 0,
            "accurate_pass": 0,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 1,
            "possession_lost": 0.294,
            "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,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 5.9,
            "pointsPerMatch": 0.5,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.723,
            "bench_expected_minutes": 15.88,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.197,
            "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": 71.0
          },
          "latest_10_games": [
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 13,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.007,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 8,
                "rating": 6.4,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 15,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "clearances": 2,
                "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": 4879,
            "combined_rank_score": 2974.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 914.0,
            "sofascore_rating": 6.504,
            "sofascore_appearances": 27.0,
            "fifa_rank": 5035.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "projected_match_rating": 6.6644,
            "source_file": "data/player_rankings.csv",
            "player_name": "Tani Oluwaseyi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Yazan Al Arab",
                  "ranking": 4874
                },
                {
                  "player_name": "Lee Chang Geun",
                  "ranking": 4875
                },
                {
                  "player_name": "Song Bum Keun",
                  "ranking": 4876
                },
                {
                  "player_name": "Renato Steffen",
                  "ranking": 4877
                },
                {
                  "player_name": "Edimilson Fernandes",
                  "ranking": 4878
                }
              ],
              "lower": [
                {
                  "player_name": "Cédric Zesiger",
                  "ranking": 4880
                },
                {
                  "player_name": "Timothé Cognat",
                  "ranking": 4881
                },
                {
                  "player_name": "Alvyn Sanches",
                  "ranking": 4882
                },
                {
                  "player_name": "Mattia Zanotti",
                  "ranking": 4883
                },
                {
                  "player_name": "Silas Andersen",
                  "ranking": 4884
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.439,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.439,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 15.88,
            "bench_appearance_prob": 0.723,
            "market_value_adjustment": 0.9978,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "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 F_service (3 historical appearances) to 15.9 expected mins (appearance prob 0.72); FBref playing time empirical prior: 2.0 sub appearances, 8.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0924,
                "goal_rate": 0.1313,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0177,
                "key_pass": 0,
                "rating": 6.6791,
                "minutes": 12,
                "total_pass": 2,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.67,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "minutesPlayed": 11.9096,
                  "totalShots": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "touches": 4.6783,
                  "dribbleValueNormalized": -0.0157
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09236608445644379,
                    "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.0592
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0401
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0171
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0099
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0081
                        }
                      ],
                      "others": -0.0489,
                      "total": 0.0924
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13130521774291992,
                    "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.0713
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0412
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0302
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0263
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0123
                        }
                      ],
                      "others": -0.0575,
                      "total": 0.1313
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.49849429726600647,
                    "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.0425
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0367
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0357
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.013
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0111
                        }
                      ],
                      "others": -0.089,
                      "total": 0.4985
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8057452440261841,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2372
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1616
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0598
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0298
                        },
                        {
                          "name": "speed_threat",
                          "contribution": -0.0278
                        }
                      ],
                      "others": -0.2091,
                      "total": 0.8057
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.017674116417765617,
                    "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.0126
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0064
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0049
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0041
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.0086,
                      "total": 0.0177
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3206009864807129,
                    "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.2083
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.032
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.025
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0222
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0181
                        }
                      ],
                      "others": -0.0567,
                      "total": 0.3206
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6791300773620605,
                    "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.1432
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.091
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0553
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0511
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0384
                        }
                      ],
                      "others": 0.0857,
                      "total": 6.6791
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9978, quality 0.493)",
              "stats": {
                "expected_goals": 0.0922,
                "goal_rate": 0.131,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0176,
                "key_pass": 0,
                "rating": 6.6644,
                "minutes": 12,
                "total_pass": 2,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.6663,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9978
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0054)",
              "stats": {
                "expected_goals": 0.0922,
                "goal_rate": 0.1303,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0176,
                "key_pass": 0,
                "rating": 6.6644,
                "minutes": 12,
                "total_pass": 2,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.6663,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": -5.63
              },
              "params": {
                "blend_weight": 0.0054,
                "history_matches": 3,
                "prior_reliability": 0.0133,
                "competition": "La Liga",
                "squad": "Villarreal"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 15.9 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0163,
                "goal_rate": 0.023,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0031,
                "key_pass": 0,
                "rating": 6.6644,
                "minutes": 16,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.294,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.723,
                "bench_expected_minutes": 15.88
              },
              "params": {
                "expected_minutes": 15.88,
                "appearance_probability": 0.723
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0163,
                "goal_rate": 0.023,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0031,
                "key_pass": 0,
                "rating": 6.6644,
                "minutes": 16,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.294,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.723,
                "bench_expected_minutes": 15.88
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "expected_goals": 0.0384,
                "goal_rate": 0.023,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0031,
                "key_pass": 0,
                "rating": 6.6644,
                "minutes": 16,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.294,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.723,
                "bench_expected_minutes": 15.88,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0163,
                  "after": 0.0384
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 16, fifa_overall 71.0)",
              "stats": {
                "expected_goals": 0.0384,
                "goal_rate": 0.023,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0031,
                "key_pass": 0,
                "rating": 6.6644,
                "minutes": 16,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.294,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.9,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.723,
                "bench_expected_minutes": 15.88,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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": 71.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4879,
                "fifa_rank": 5035.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 71.0
              }
            }
          ]
        },
        "Nathan-Dylan Saliba": {
          "player_id": 1093229,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 173,
          "market_value": 9200000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0211,
            "assists": 0,
            "expected_goals": 0.0248,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7223,
            "minutes": 22,
            "total_pass": 18,
            "accurate_pass": 17,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 11,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 1.9874,
            "dispossessed": 1.0039,
            "duels_lost": 1,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 2,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 5,
            "total_progression": 12,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.512,
            "bench_expected_minutes": 22.27,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.197,
            "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": 71.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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assists": 0,
                "expected_goals": 0.1151,
                "expected_assists": 0.1364,
                "total_shots": 1,
                "total_pass": 73,
                "accurate_pass": 67,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 10,
                "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": 4406,
            "combined_rank_score": 2430.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 4706.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "projected_match_rating": 6.7223,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nathan-Dylan Saliba",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Francés",
                  "ranking": 4401
                },
                {
                  "player_name": "Florin Tănase",
                  "ranking": 4402
                },
                {
                  "player_name": "Víctor García",
                  "ranking": 4403
                },
                {
                  "player_name": "Kings Kangwa",
                  "ranking": 4404
                },
                {
                  "player_name": "Soualiho Meïté",
                  "ranking": 4405
                }
              ],
              "lower": [
                {
                  "player_name": "Luca Koleosho",
                  "ranking": 4407
                },
                {
                  "player_name": "Anastasios Bakasetas",
                  "ranking": 4408
                },
                {
                  "player_name": "Rick van Drongelen",
                  "ranking": 4409
                },
                {
                  "player_name": "Rodrigo Echeverría",
                  "ranking": 4410
                },
                {
                  "player_name": "Romaine Mundle",
                  "ranking": 4411
                }
              ]
            }
          },
          "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",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.271536137511767,
            "bench_appearance_prob": 0.5123425517050804,
            "market_value_adjustment": 1.0039,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (1 historical appearances) to 22.3 expected mins (appearance prob 0.51)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.085,
                "assists": 0,
                "expected_goals": 0.0421,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6961,
                "minutes": 90,
                "total_pass": 73,
                "accurate_pass": 67,
                "duels_won": 10,
                "total_long_balls": 4,
                "accurate_long_balls": 3,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 51,
                "accurate_opp_half_passes": 46,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 92,
                "possession_lost": 8.0,
                "dispossessed": 1.0,
                "duels_lost": 4,
                "aerial_won": 3,
                "aerial_lost": 1,
                "interceptions": 3,
                "tackles_won": 3,
                "tackles": 5,
                "clearances": 3,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 49,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 1.0,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.0,
                  "ballRecovery_p90": 2.0,
                  "progressiveBallCarriesCount": 1.0,
                  "expectedAssists": 0.1364,
                  "ballRecovery": 2.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.9802777767181396,
                    "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.169
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0549
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0374
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0328
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.025
                        }
                      ],
                      "others": 0.1049,
                      "total": 0.9803
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08495140820741653,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0151
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.011
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0052
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0041
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0041
                        }
                      ],
                      "others": 0.013,
                      "total": 0.085
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.11721768230199814,
                    "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": "duelLost",
                          "contribution": 0.0054
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0049
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0041
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0043
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0037
                        }
                      ],
                      "others": 0.009,
                      "total": 0.1172
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04212000221014023,
                    "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.0211
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0119
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0096
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0061
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0054
                        }
                      ],
                      "others": -0.0125,
                      "total": 0.0421
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.28342205286026,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0414
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0264
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0172
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0117
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0095
                        }
                      ],
                      "others": 0.0044,
                      "total": 0.2834
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7996326088905334,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2148
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.1071
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0801
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0562
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0485
                        }
                      ],
                      "others": 0.0337,
                      "total": 0.7996
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.696115016937256,
                    "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.3556
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0564
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0525
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0344
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0323
                        }
                      ],
                      "others": 0.1089,
                      "total": 6.6961
                    }
                  }
                ],
                "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": {
                "key_pass": 1,
                "expected_assists": 0.0853,
                "assists": 0,
                "expected_goals": 0.0423,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7223,
                "minutes": 90,
                "total_pass": 73,
                "accurate_pass": 67,
                "duels_won": 10,
                "total_long_balls": 4,
                "accurate_long_balls": 3,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 51,
                "accurate_opp_half_passes": 46,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 92,
                "possession_lost": 8.0312,
                "dispossessed": 1.0039,
                "duels_lost": 4,
                "aerial_won": 3,
                "aerial_lost": 1,
                "interceptions": 3,
                "tackles_won": 3,
                "tackles": 5,
                "clearances": 3,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 49,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 9200000,
                "quality_factor": 0.513,
                "boost_factor": 1.0039
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.3 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0211,
                "assists": 0,
                "expected_goals": 0.0105,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7223,
                "minutes": 22,
                "total_pass": 18,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 23,
                "possession_lost": 1.9874,
                "dispossessed": 1.0039,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 12,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27
              },
              "params": {
                "expected_minutes": 22.27,
                "appearance_probability": 0.512
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0211,
                "assists": 0,
                "expected_goals": 0.0105,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7223,
                "minutes": 22,
                "total_pass": 18,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 23,
                "possession_lost": 1.9874,
                "dispossessed": 1.0039,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 12,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0211,
                "assists": 0,
                "expected_goals": 0.0248,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7223,
                "minutes": 22,
                "total_pass": 18,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 23,
                "possession_lost": 1.9874,
                "dispossessed": 1.0039,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 12,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0105,
                  "after": 0.0248
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 12, fifa_overall 71.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0211,
                "assists": 0,
                "expected_goals": 0.0248,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7223,
                "minutes": 22,
                "total_pass": 18,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 23,
                "possession_lost": 1.9874,
                "dispossessed": 1.0039,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 12,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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": 71.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4406,
                "fifa_rank": 4706.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 71.0
              }
            }
          ]
        },
        "Nicolas Pépé": {
          "player_id": 593526,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 183,
          "market_value": 6600000,
          "stats": {
            "expected_goals": 0.1686,
            "goal_rate": 0.1183,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0172,
            "key_pass": 0,
            "rating": 7.0183,
            "minutes": 25,
            "total_pass": 13,
            "accurate_pass": 11,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 10,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 20,
            "possession_lost": 4.6435,
            "dispossessed": 1.7404,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1182,
            "offsides": 0,
            "ball_carries": 7,
            "total_progression": 27,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "yellowCards": 0.3704,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 71.4,
            "shotConversion": 0.14,
            "minutesPct": 90.4,
            "pointsPerMatch": 0.67,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.338,
            "bench_expected_minutes": 25.47,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.197,
            "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": 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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.2768,
                "expected_assists": 0.2635,
                "total_shots": 5,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 62,
                "accurate_pass": 55,
                "key_pass": 4,
                "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": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.2524,
                "expected_assists": 0.4359,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 49,
                "accurate_pass": 42,
                "key_pass": 4,
                "tackles": 1,
                "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 79,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.1005,
                "expected_assists": 0.2611,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 31,
                "accurate_pass": 30,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061.0,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 77,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.0802,
                "expected_assists": 0.232,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 38,
                "accurate_pass": 33,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 560,
            "combined_rank_score": 308.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 44.0,
            "sofascore_rating": 7.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 572.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "projected_match_rating": 7.0183,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nicolas Pépé",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Joseph Otunenche",
                  "ranking": 555
                },
                {
                  "player_name": "Dean Huijsen",
                  "ranking": 556
                },
                {
                  "player_name": "Jarrod Bowen",
                  "ranking": 557
                },
                {
                  "player_name": "Ivan Alonso Martin",
                  "ranking": 558
                },
                {
                  "player_name": "Marco Román",
                  "ranking": 559
                }
              ],
              "lower": [
                {
                  "player_name": "Javi Navarro",
                  "ranking": 561
                },
                {
                  "player_name": "Jordi Pesquer",
                  "ranking": 562
                },
                {
                  "player_name": "Diego Lacosta",
                  "ranking": 563
                },
                {
                  "player_name": "Luca Williams-Barnett",
                  "ranking": 564
                },
                {
                  "player_name": "Tynan Thompson",
                  "ranking": 565
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.527,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.527,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.467767132293673,
            "bench_appearance_prob": 0.338,
            "market_value_adjustment": 0.9945,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.3703703703703703,
              "assists_per90": 0.0,
              "prior_reliability": 0.18
            },
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 25.5 expected mins (appearance prob 0.34); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.254,
                "goal_rate": 0.4235,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 4,
                "expected_assists": 0.0611,
                "key_pass": 1,
                "rating": 7.0569,
                "minutes": 84,
                "total_pass": 45,
                "accurate_pass": 40,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 39,
                "accurate_opp_half_passes": 35,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 71,
                "possession_lost": 16.5,
                "dispossessed": 1.75,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 7,
                "won_contest": 3,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.42,
                "offsides": 0,
                "ball_carries": 25,
                "total_progression": 96,
                "progressive_carries": 5,
                "shots_off_target": 3
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.8
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "minutesPlayed": 85.0006,
                  "totalShots": 3.2082,
                  "onTargetScoringAttempt": 1.4595,
                  "touches": 73.6327,
                  "dribbleValueNormalized": 0.3248
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.25396957993507385,
                    "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.0474
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0389
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0243
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0203
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0176
                        }
                      ],
                      "others": 0.0004,
                      "total": 0.254
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.4234887659549713,
                    "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": "totalShots",
                          "contribution": 0.1084
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0277
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0226
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0225
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0224
                        }
                      ],
                      "others": -0.025,
                      "total": 0.4235
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.8273980021476746,
                    "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.0426
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0446
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0475
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0408
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.032
                        }
                      ],
                      "others": 0.051,
                      "total": 0.8274
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 3.554447650909424,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.81
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.4703
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2733
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.2699
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.2469
                        }
                      ],
                      "others": 0.4996,
                      "total": 3.5544
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06108085438609123,
                    "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.0134
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0122
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0067
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0066
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0065
                        }
                      ],
                      "others": 0.0086,
                      "total": 0.0611
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7500160932540894,
                    "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.1846
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0766
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0434
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0421
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0354
                        }
                      ],
                      "others": 0.141,
                      "total": 0.75
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.056930065155029,
                    "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.0941
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0911
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0884
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0786
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.071
                        }
                      ],
                      "others": 0.2791,
                      "total": 7.0569
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9945, quality 0.482)",
              "stats": {
                "expected_goals": 0.2526,
                "goal_rate": 0.4212,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 4,
                "expected_assists": 0.0607,
                "key_pass": 1,
                "rating": 7.0183,
                "minutes": 84,
                "total_pass": 45,
                "accurate_pass": 40,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 39,
                "accurate_opp_half_passes": 35,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 71,
                "possession_lost": 16.4097,
                "dispossessed": 1.7404,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 7,
                "won_contest": 3,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.4177,
                "offsides": 0,
                "ball_carries": 25,
                "total_progression": 96,
                "progressive_carries": 5,
                "shots_off_target": 3
              },
              "params": {
                "market_value_eur": 6600000,
                "quality_factor": 0.4818,
                "boost_factor": 0.9945
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0650)",
              "stats": {
                "expected_goals": 0.2526,
                "goal_rate": 0.4179,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 4,
                "expected_assists": 0.0607,
                "key_pass": 1,
                "rating": 7.0183,
                "minutes": 84,
                "total_pass": 45,
                "accurate_pass": 40,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 39,
                "accurate_opp_half_passes": 35,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 71,
                "possession_lost": 16.4097,
                "dispossessed": 1.7404,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 7,
                "won_contest": 3,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.4177,
                "offsides": 0,
                "ball_carries": 25,
                "total_progression": 96,
                "progressive_carries": 5,
                "shots_off_target": 3,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 71.4,
                "shotConversion": 0.14,
                "minutesPct": 90.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.065,
                "history_matches": 4,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8229,
                  "after": 0.889
                },
                {
                  "stat": "totalShots",
                  "before": 3.535,
                  "after": 3.4729
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "wasFouled",
                  "before": 1.2432,
                  "after": 1.2587
                },
                {
                  "stat": "totalCross",
                  "before": 3.4808,
                  "after": 3.4712
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.5 expected minutes (appearance prob 0.34)",
              "stats": {
                "expected_goals": 0.0715,
                "goal_rate": 0.1183,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0172,
                "key_pass": 0,
                "rating": 7.0183,
                "minutes": 25,
                "total_pass": 13,
                "accurate_pass": 11,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 4.6435,
                "dispossessed": 1.7404,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.1182,
                "offsides": 0,
                "ball_carries": 7,
                "total_progression": 27,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 71.4,
                "shotConversion": 0.14,
                "minutesPct": 90.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.338,
                "bench_expected_minutes": 25.47
              },
              "params": {
                "expected_minutes": 25.47,
                "appearance_probability": 0.338
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0715,
                "goal_rate": 0.1183,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0172,
                "key_pass": 0,
                "rating": 7.0183,
                "minutes": 25,
                "total_pass": 13,
                "accurate_pass": 11,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 4.6435,
                "dispossessed": 1.7404,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.1182,
                "offsides": 0,
                "ball_carries": 7,
                "total_progression": 27,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 71.4,
                "shotConversion": 0.14,
                "minutesPct": 90.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.338,
                "bench_expected_minutes": 25.47
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.68 (squad xG sum 0.7111, xG scale 2.3583)",
              "stats": {
                "expected_goals": 0.1686,
                "goal_rate": 0.1183,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0172,
                "key_pass": 0,
                "rating": 7.0183,
                "minutes": 25,
                "total_pass": 13,
                "accurate_pass": 11,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 4.6435,
                "dispossessed": 1.7404,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.1182,
                "offsides": 0,
                "ball_carries": 7,
                "total_progression": 27,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 71.4,
                "shotConversion": 0.14,
                "minutesPct": 90.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.338,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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.677,
                "squad_xg_sum": 0.7111,
                "xg_scale": 2.3583,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0715,
                  "after": 0.1686
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 17, fifa_overall 81.0)",
              "stats": {
                "expected_goals": 0.1686,
                "goal_rate": 0.1183,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0172,
                "key_pass": 0,
                "rating": 7.0183,
                "minutes": 25,
                "total_pass": 13,
                "accurate_pass": 11,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 4.6435,
                "dispossessed": 1.7404,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.1182,
                "offsides": 0,
                "ball_carries": 7,
                "total_progression": 27,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 71.4,
                "shotConversion": 0.14,
                "minutesPct": 90.4,
                "pointsPerMatch": 0.67,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.338,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.197,
                "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": 81.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 560,
                "fifa_rank": 572.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 81.0
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.68,
        "expected_assists": 1.02,
        "total_shots": 14,
        "shots_on_target": 1,
        "total_passes": 484,
        "interceptions": 7,
        "tackles": 11,
        "avg_rating": 7.11,
        "possession_estimated_pct": 52.9,
        "pressing_actions_per_90": 7.3
      }
    },
    "Levante": {
      "formation": "4-3-3",
      "players": {
        "Mathew Ryan": {
          "player_id": 134029,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 13,
          "height": 184,
          "market_value": 1700000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.1639,
            "rating": 7.1828,
            "minutes": 88,
            "total_pass": 33,
            "accurate_pass": 27,
            "duels_won": 0,
            "total_long_balls": 11,
            "accurate_long_balls": 5,
            "touches": 49,
            "clearances": 1,
            "ball_recovery": 11,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 3,
            "possession_lost": 6.1327,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 26,
            "accurate_own_half_passes": 25,
            "expected_saves": 1.32,
            "high_pressure_saves": 0.5,
            "shots_faced": 2.8,
            "opponent_faced": "Georges Mikautadze, Tajon Buchanan",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416329.0,
              "match_date": "2026-09-13 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 4.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Barcelona",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 27,
                "clearances": 1,
                "ball_recovery": 7,
                "saves": 3,
                "goals_prevented": 1.0551
              },
              "has_player_stats": true,
              "league_name": "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": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assists": 0,
                "expected_assists": 0.0052,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 32,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 14,
                "saves": 4,
                "goals_prevented": -0.4955
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 9.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 22,
                "clearances": 1,
                "ball_recovery": 15,
                "saves": 7,
                "goals_prevented": 0.9807
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 28,
                "tackles": 1,
                "clearances": 3,
                "duels_won": 1,
                "ball_recovery": 7,
                "saves": 3,
                "goals_prevented": -0.7259
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1126,
            "combined_rank_score": 506.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 64.0,
            "sofascore_rating": 7.6333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 948.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "starter",
            "projected_match_rating": 7.1828,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mathew Ryan",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ho-in Lee",
                  "ranking": 1121
                },
                {
                  "player_name": "Kim Min-jae",
                  "ranking": 1122
                },
                {
                  "player_name": "Hak-min Lee",
                  "ranking": 1123
                },
                {
                  "player_name": "Benjamin White",
                  "ranking": 1124
                },
                {
                  "player_name": "Đorđe Petrović",
                  "ranking": 1125
                }
              ],
              "lower": [
                {
                  "player_name": "Johan Manzambi",
                  "ranking": 1127
                },
                {
                  "player_name": "Rasul Yuldashev",
                  "ranking": 1128
                },
                {
                  "player_name": "Muhammad Yuldashev",
                  "ranking": 1129
                },
                {
                  "player_name": "Carlos Morales",
                  "ranking": 1130
                },
                {
                  "player_name": "Ousmane Diomande",
                  "ranking": 1131
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "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.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (G_service) evaluated 4 historical appearances across 3 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.167,
                "rating": 7.3202,
                "minutes": 90,
                "total_pass": 34,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 6,
                "touches": 50,
                "clearances": 2,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 3,
                "possession_lost": 6.25,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 25
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:40.064367+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 113,
                    "rows": 393
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 9.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 0.966,
                  "touches": 49.8107,
                  "totalOwnHalfPasses": 27.0041,
                  "punches": 0.6862,
                  "distribution_accuracy": 0.9321,
                  "accurateKeeperSweeper": 0.966
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.963670015335083,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0587
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0534
                      },
                      {
                        "name": "touches",
                        "importance": 0.0497
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.049
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.043
                      }
                    ],
                    "decomposition": {
                      "base": 2.9806,
                      "items": [
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.1134
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": 0.0445
                        },
                        {
                          "name": "commanding_index",
                          "contribution": 0.0313
                        },
                        {
                          "name": "save_contribution",
                          "contribution": -0.0301
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0286
                        }
                      ],
                      "others": 0.0222,
                      "total": 2.9637
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.16700902581214905,
                    "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": "passValueNormalized",
                          "contribution": 0.1044
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0921
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0433
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": 0.0384
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0372
                        }
                      ],
                      "others": 0.0894,
                      "total": 0.167
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.320199489593506,
                    "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": "sweeper_actions_p90",
                          "contribution": -0.0688
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.066
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0601
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0451
                        },
                        {
                          "name": "commanding_index",
                          "contribution": 0.0324
                        }
                      ],
                      "others": 0.1138,
                      "total": 7.3202
                    }
                  }
                ],
                "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.1639,
                "rating": 7.1828,
                "minutes": 88,
                "total_pass": 33,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 11,
                "accurate_long_balls": 5,
                "touches": 49,
                "clearances": 1,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 3,
                "possession_lost": 6.1327,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 25
              },
              "params": {
                "market_value_eur": 1700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.1639,
                "rating": 7.1828,
                "minutes": 88,
                "total_pass": 33,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 11,
                "accurate_long_balls": 5,
                "touches": 49,
                "clearances": 1,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 3,
                "possession_lost": 6.1327,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 25
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.1639,
                "rating": 7.1828,
                "minutes": 88,
                "total_pass": 33,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 11,
                "accurate_long_balls": 5,
                "touches": 49,
                "clearances": 1,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 3,
                "possession_lost": 6.1327,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 25,
                "expected_saves": 1.32,
                "high_pressure_saves": 0.5,
                "shots_faced": 2.8,
                "opponent_faced": "Georges Mikautadze, Tajon Buchanan",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Georges Mikautadze, Tajon Buchanan",
                  "matchup_zone": "Goalkeeper shot-stopping context"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 0.9626, xG scale 1.7972)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.1639,
                "rating": 7.1828,
                "minutes": 88,
                "total_pass": 33,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 11,
                "accurate_long_balls": 5,
                "touches": 49,
                "clearances": 1,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 3,
                "possession_lost": 6.1327,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 25,
                "expected_saves": 1.32,
                "high_pressure_saves": 0.5,
                "shots_faced": 2.8,
                "opponent_faced": "Georges Mikautadze, Tajon Buchanan",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 0.9626,
                "xg_scale": 1.7972,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 15, fifa_overall 79.0)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.1639,
                "rating": 7.1828,
                "minutes": 88,
                "total_pass": 33,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 11,
                "accurate_long_balls": 5,
                "touches": 49,
                "clearances": 1,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 3,
                "possession_lost": 6.1327,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 25,
                "expected_saves": 1.32,
                "high_pressure_saves": 0.5,
                "shots_faced": 2.8,
                "opponent_faced": "Georges Mikautadze, Tajon Buchanan",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1126,
                "fifa_rank": 948.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.1639,
                "rating": 7.1828,
                "minutes": 88,
                "total_pass": 33,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 11,
                "accurate_long_balls": 5,
                "touches": 49,
                "clearances": 1,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 3,
                "possession_lost": 6.1327,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 25,
                "expected_saves": 1.32,
                "high_pressure_saves": 0.5,
                "shots_faced": 2.8,
                "opponent_faced": "Georges Mikautadze, Tajon Buchanan",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 14.6318,
                "weight_share": 0.0,
                "position_multiplier": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.1639,
                "rating": 7.1828,
                "minutes": 88,
                "total_pass": 33,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 11,
                "accurate_long_balls": 5,
                "touches": 49,
                "clearances": 1,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 3,
                "possession_lost": 6.1327,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 25,
                "expected_saves": 1.32,
                "high_pressure_saves": 0.5,
                "shots_faced": 2.8,
                "opponent_faced": "Georges Mikautadze, Tajon Buchanan",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 6.8209,
                "weight_share": 0.0,
                "position_multiplier": 0.0
              }
            }
          ]
        },
        "Axel Tape": {
          "player_id": 1937795,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 16,
          "height": 180,
          "market_value": 8700000,
          "stats": {
            "interceptions": 2,
            "tackles": 2,
            "tackles_won": 2,
            "clearances": 3,
            "aerial_won": 2,
            "duels_won": 6,
            "total_pass": 44,
            "accurate_pass": 35,
            "expected_goals": 0.0323,
            "rating": 6.9,
            "minutes": 90,
            "total_long_balls": 6,
            "accurate_long_balls": 3,
            "total_own_half_passes": 28,
            "accurate_own_half_passes": 23,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 7,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 60,
            "possession_lost": 6.5,
            "dispossessed": 0.5,
            "duels_lost": 4,
            "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.051,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.013,
            "key_pass": 1,
            "ball_carries": 20,
            "total_progression": 60,
            "progressive_carries": 5,
            "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.8,
            "defensive_success_rate": 0.736,
            "opponent_faced": "Georges Mikautadze",
            "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.0468,
            "projected_assists": 0,
            "assist_probability": 0.0541,
            "fifa_overall": 67.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 6593,
            "combined_rank_score": 4909.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 9120.0,
            "fifa_overall": 67.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Axel Tape",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Tim Siersleben",
                  "ranking": 6588
                },
                {
                  "player_name": "Lee Ho Jae",
                  "ranking": 6589
                },
                {
                  "player_name": "Boris Tomiak",
                  "ranking": 6590
                },
                {
                  "player_name": "Ole Pohlmann",
                  "ranking": 6591
                },
                {
                  "player_name": "Semih Sahin",
                  "ranking": 6592
                }
              ],
              "lower": [
                {
                  "player_name": "Daisuke Yokota",
                  "ranking": 6594
                },
                {
                  "player_name": "Clayton Taylor",
                  "ranking": 6595
                },
                {
                  "player_name": "Rahim Alhassane",
                  "ranking": 6596
                },
                {
                  "player_name": "Giovane",
                  "ranking": 6597
                },
                {
                  "player_name": "Stefano Sabelli",
                  "ranking": 6598
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "D_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "market_value_adjustment": 0.5071,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€8,700,000) applied for position D (quality factor 0.51)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.51)",
              "stats": {
                "interceptions": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "total_pass": 44,
                "accurate_pass": 35,
                "expected_goals": 0.018,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 6.5,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "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.051,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.013,
                "key_pass": 1,
                "ball_carries": 20,
                "total_progression": 60,
                "progressive_carries": 5
              },
              "params": {
                "market_value_eur": 8700000,
                "quality_factor": 0.5071
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "total_pass": 44,
                "accurate_pass": 35,
                "expected_goals": 0.018,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 6.5,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "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.051,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.013,
                "key_pass": 1,
                "ball_carries": 20,
                "total_progression": 60,
                "progressive_carries": 5
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "total_pass": 44,
                "accurate_pass": 35,
                "expected_goals": 0.018,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 6.5,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "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.051,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.013,
                "key_pass": 1,
                "ball_carries": 20,
                "total_progression": 60,
                "progressive_carries": 5,
                "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.8,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Georges Mikautadze",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Georges Mikautadze",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 0.9626, xG scale 1.7972)",
              "stats": {
                "interceptions": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "total_pass": 44,
                "accurate_pass": 35,
                "expected_goals": 0.0323,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 6.5,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "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.051,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.013,
                "key_pass": 1,
                "ball_carries": 20,
                "total_progression": 60,
                "progressive_carries": 5,
                "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.8,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Georges Mikautadze",
                "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.73,
                "squad_xg_sum": 0.9626,
                "xg_scale": 1.7972,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.018,
                  "after": 0.0323
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 3, fifa_overall 67.0)",
              "stats": {
                "interceptions": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "total_pass": 44,
                "accurate_pass": 35,
                "expected_goals": 0.0323,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 6.5,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "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.051,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.013,
                "key_pass": 1,
                "ball_carries": 20,
                "total_progression": 60,
                "progressive_carries": 5,
                "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.8,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Georges Mikautadze",
                "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": 67.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 6593,
                "fifa_rank": 9120.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 67.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "total_pass": 44,
                "accurate_pass": 35,
                "expected_goals": 0.0323,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 6.5,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "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.051,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.013,
                "key_pass": 1,
                "ball_carries": 20,
                "total_progression": 60,
                "progressive_carries": 5,
                "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.8,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Georges Mikautadze",
                "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.0468,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 67.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0468,
                "scorer_weight": 0.3467,
                "squad_weight_total": 14.6318,
                "weight_share": 0.0237,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "total_pass": 44,
                "accurate_pass": 35,
                "expected_goals": 0.0323,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 6.5,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "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.051,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.013,
                "key_pass": 1,
                "ball_carries": 20,
                "total_progression": 60,
                "progressive_carries": 5,
                "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.8,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Georges Mikautadze",
                "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.0468,
                "projected_assists": 0,
                "assist_probability": 0.0541,
                "fifa_overall": 67.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0541,
                "provider_weight": 0.369,
                "squad_weight_total": 6.8209,
                "weight_share": 0.0541,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Manuel Sánchez": {
          "player_id": 984789,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 23,
          "height": 179,
          "market_value": 6400000,
          "stats": {
            "interceptions": 1,
            "tackles": 3,
            "tackles_won": 2,
            "clearances": 4,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.6482,
            "minutes": 89,
            "total_pass": 49,
            "accurate_pass": 43,
            "duels_won": 6,
            "total_long_balls": 6,
            "accurate_long_balls": 0,
            "total_own_half_passes": 29,
            "accurate_own_half_passes": 27,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 16,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 73,
            "possession_lost": 10.6833,
            "dispossessed": 0.0,
            "duels_lost": 7,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 3,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0298,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 21,
            "total_progression": 83,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 2.0,
            "tackles_won_in_zone": 1.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.531,
            "opponent_faced": "Ilias Akhomach",
            "pressing_zone": "Right Mid vs Left Back — Wide Channel",
            "matchup_zone": "Right Mid vs Left Back — Wide Channel",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0208,
            "projected_assists": 0,
            "assist_probability": 0.016,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416329.0,
              "match_date": "2026-09-13 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 4.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Barcelona",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assists": 0,
                "expected_assists": 0.0595,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 44,
                "key_pass": 1,
                "tackles": 12,
                "tackles_won": 9,
                "clearances": 2,
                "duels_won": 14,
                "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": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assists": 0,
                "expected_goals": 0.0063,
                "expected_assists": 0.0285,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 59,
                "accurate_pass": 50,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 6,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assists": 0,
                "expected_assists": 0.0138,
                "total_shots": 0,
                "total_pass": 63,
                "accurate_pass": 55,
                "tackles": 3,
                "tackles_won": 2,
                "aerial_won": 1,
                "duels_won": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2393,
            "combined_rank_score": 1048.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 867.0,
            "sofascore_rating": 6.5576,
            "sofascore_appearances": 33.0,
            "fifa_rank": 1230.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "projected_match_rating": 6.6482,
            "source_file": "data/player_rankings.csv",
            "player_name": "Manuel Sánchez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Daniel Londoño",
                  "ranking": 2388
                },
                {
                  "player_name": "Moisés González",
                  "ranking": 2389
                },
                {
                  "player_name": "António Silva",
                  "ranking": 2390
                },
                {
                  "player_name": "Carl Starfelt",
                  "ranking": 2391
                },
                {
                  "player_name": "Max Kilman",
                  "ranking": 2392
                }
              ],
              "lower": [
                {
                  "player_name": "Mukhammadkarim Toirov",
                  "ranking": 2394
                },
                {
                  "player_name": "Gabriel Cléúr",
                  "ranking": 2395
                },
                {
                  "player_name": "Carlo Villanueva",
                  "ranking": 2396
                },
                {
                  "player_name": "Sardor Rakhmanov",
                  "ranking": 2397
                },
                {
                  "player_name": "Giannis Konstantelias",
                  "ranking": 2398
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9938,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 4 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6897,
                "minutes": 90,
                "total_pass": 50,
                "accurate_pass": 43,
                "duels_won": 6,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 27,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 73,
                "possession_lost": 10.75,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.03,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 84,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.0
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "touches_p90": 71.6066,
                  "accuratePass": 41.8788,
                  "possessionLostCtrl": 10.0818,
                  "totalClearance": 3.3217,
                  "totalClearance_p90": 3.3217
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9985464811325073,
                    "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.0378
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0352
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0302
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0142
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0114
                        }
                      ],
                      "others": -0.0127,
                      "total": 0.9985
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.63288950920105,
                    "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.3707
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.2518
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.2497
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.1364
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.064
                        }
                      ],
                      "others": 0.205,
                      "total": 2.6329
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.7607070207595825,
                    "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": "challengeLost",
                          "contribution": 0.1188
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.1307
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1322
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.1031
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0924
                        }
                      ],
                      "others": 0.316,
                      "total": 1.7607
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.583176374435425,
                    "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.3723
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.3622
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2649
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.1922
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.1487
                        }
                      ],
                      "others": 0.2459,
                      "total": 3.5832
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.0176215171813965,
                    "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.1115
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0535
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0478
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0468
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0257
                        }
                      ],
                      "others": -0.0862,
                      "total": 1.0176
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4376925826072693,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0371
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0224
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0219
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.019
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0159
                        }
                      ],
                      "others": -0.0212,
                      "total": 0.4377
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.689688205718994,
                    "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": "press_vulnerability",
                          "contribution": -0.0323
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0315
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0294
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0292
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0262
                        }
                      ],
                      "others": 0.0648,
                      "total": 6.6897
                    }
                  }
                ],
                "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.9938, quality 0.479)",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6482,
                "minutes": 89,
                "total_pass": 49,
                "accurate_pass": 43,
                "duels_won": 6,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 27,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 73,
                "possession_lost": 10.6833,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0298,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 83,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 6400000,
                "quality_factor": 0.4793,
                "boost_factor": 0.9938
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6482,
                "minutes": 89,
                "total_pass": 49,
                "accurate_pass": 43,
                "duels_won": 6,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 27,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 73,
                "possession_lost": 10.6833,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0298,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 83,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6482,
                "minutes": 89,
                "total_pass": 49,
                "accurate_pass": 43,
                "duels_won": 6,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 27,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 73,
                "possession_lost": 10.6833,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0298,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 83,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.531,
                "opponent_faced": "Ilias Akhomach",
                "pressing_zone": "Right Mid vs Left Back — Wide Channel",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Ilias Akhomach",
                  "matchup_zone": "Right Mid vs Left Back — Wide Channel"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 0.9626, xG scale 1.7972)",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6482,
                "minutes": 89,
                "total_pass": 49,
                "accurate_pass": 43,
                "duels_won": 6,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 27,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 73,
                "possession_lost": 10.6833,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0298,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 83,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.531,
                "opponent_faced": "Ilias Akhomach",
                "pressing_zone": "Right Mid vs Left Back — Wide Channel",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 0.9626,
                "xg_scale": 1.7972,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 6, fifa_overall 78.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6482,
                "minutes": 89,
                "total_pass": 49,
                "accurate_pass": 43,
                "duels_won": 6,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 27,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 73,
                "possession_lost": 10.6833,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0298,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 83,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.531,
                "opponent_faced": "Ilias Akhomach",
                "pressing_zone": "Right Mid vs Left Back — Wide Channel",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2393,
                "fifa_rank": 1230.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6482,
                "minutes": 89,
                "total_pass": 49,
                "accurate_pass": 43,
                "duels_won": 6,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 27,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 73,
                "possession_lost": 10.6833,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0298,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 83,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.531,
                "opponent_faced": "Ilias Akhomach",
                "pressing_zone": "Right Mid vs Left Back — Wide Channel",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0208,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0208,
                "scorer_weight": 0.1528,
                "squad_weight_total": 14.6318,
                "weight_share": 0.0104,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6482,
                "minutes": 89,
                "total_pass": 49,
                "accurate_pass": 43,
                "duels_won": 6,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 27,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 73,
                "possession_lost": 10.6833,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0298,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 83,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.531,
                "opponent_faced": "Ilias Akhomach",
                "pressing_zone": "Right Mid vs Left Back — Wide Channel",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0208,
                "projected_assists": 0,
                "assist_probability": 0.016,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.016,
                "provider_weight": 0.1091,
                "squad_weight_total": 6.8209,
                "weight_share": 0.016,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Adrián de la Fuente": {
          "player_id": 997244,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 4,
          "height": 178,
          "market_value": 4099999,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.6755,
            "minutes": 89,
            "total_pass": 60,
            "accurate_pass": 50,
            "duels_won": 3,
            "total_long_balls": 14,
            "accurate_long_balls": 7,
            "total_own_half_passes": 36,
            "accurate_own_half_passes": 35,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 15,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 75,
            "possession_lost": 12.8092,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.1948,
            "expected_assists": 0.1872,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 24,
            "total_progression": 114,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 1,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.5,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.472,
            "opponent_faced": "Tajon Buchanan",
            "pressing_zone": "Left Mid vs Right Back — Wide Channel",
            "matchup_zone": "Left Mid vs Right Back — Wide Channel",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0632,
            "projected_assists": 0,
            "assist_probability": 0.0556,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416329.0,
              "match_date": "2026-09-13 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 4.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Barcelona",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assists": 0,
                "expected_goals": 0.0277,
                "expected_assists": 0.0203,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 42,
                "accurate_pass": 34,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.1815,
                "expected_assists": 0.2711,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 61,
                "accurate_pass": 48,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 8,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assists": 0,
                "expected_goals": 0.1611,
                "expected_assists": 0.4449,
                "total_shots": 1,
                "total_pass": 71,
                "accurate_pass": 57,
                "interceptions": 1,
                "clearances": 4,
                "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"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assists": 0,
                "expected_goals": 0.0583,
                "expected_assists": 0.0194,
                "total_shots": 1,
                "total_pass": 69,
                "accurate_pass": 63,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 2,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 118,
            "combined_rank_score": 104.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 112.0,
            "sofascore_rating": 7.4333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 96.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "projected_match_rating": 6.6755,
            "source_file": "data/player_rankings.csv",
            "player_name": "Adrián de la Fuente",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jun-ho Son",
                  "ranking": 113
                },
                {
                  "player_name": "Luka Modrić",
                  "ranking": 114
                },
                {
                  "player_name": "Jean Meneses",
                  "ranking": 115
                },
                {
                  "player_name": "Viktor Gyökeres",
                  "ranking": 116
                },
                {
                  "player_name": "Matías Zaldivia",
                  "ranking": 117
                }
              ],
              "lower": [
                {
                  "player_name": "Jaylan Hankins",
                  "ranking": 119
                },
                {
                  "player_name": "Marquinhos",
                  "ranking": 120
                },
                {
                  "player_name": "Jan Oblak",
                  "ranking": 121
                },
                {
                  "player_name": "Morgan Rogers",
                  "ranking": 122
                },
                {
                  "player_name": "Joan García",
                  "ranking": 123
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9853,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 4 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.775,
                "minutes": 90,
                "total_pass": 61,
                "accurate_pass": 50,
                "duels_won": 3,
                "total_long_balls": 14,
                "accurate_long_balls": 7,
                "total_own_half_passes": 37,
                "accurate_own_half_passes": 36,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 76,
                "possession_lost": 13.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.11,
                "expected_assists": 0.19,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 24,
                "total_progression": 116,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "touches_p90": 73.9196,
                  "accuratePass": 48.538,
                  "possessionLostCtrl": 12.9818,
                  "totalClearance": 4.6815,
                  "totalClearance_p90": 4.6815
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9779672026634216,
                    "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.043
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0415
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0157
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0097
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0097
                        }
                      ],
                      "others": -0.0016,
                      "total": 0.978
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.27439546585083,
                    "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.0971
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0814
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0604
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0395
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0357
                        }
                      ],
                      "others": -0.0818,
                      "total": 1.2744
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8169329166412354,
                    "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.1203
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.107
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.054
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0462
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0457
                        }
                      ],
                      "others": -0.1018,
                      "total": 0.8169
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.81662917137146,
                    "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.4056
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3811
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2332
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1332
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.126
                        }
                      ],
                      "others": 0.1975,
                      "total": 3.8166
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.3284963369369507,
                    "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.0986
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0551
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0574
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0477
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0442
                        }
                      ],
                      "others": -0.0194,
                      "total": 1.3285
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6553618311882019,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.1193
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.062
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0355
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0349
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0242
                        }
                      ],
                      "others": -0.0767,
                      "total": 0.6554
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.77497673034668,
                    "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.0445
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0282
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0266
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0242
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.013
                        }
                      ],
                      "others": 0.0242,
                      "total": 6.775
                    }
                  }
                ],
                "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.9853, quality 0.451)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.6755,
                "minutes": 89,
                "total_pass": 60,
                "accurate_pass": 50,
                "duels_won": 3,
                "total_long_balls": 14,
                "accurate_long_balls": 7,
                "total_own_half_passes": 36,
                "accurate_own_half_passes": 35,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 75,
                "possession_lost": 12.8092,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1084,
                "expected_assists": 0.1872,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 24,
                "total_progression": 114,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 4099999,
                "quality_factor": 0.4511,
                "boost_factor": 0.9853
              }
            },
            {
              "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,
                "total_shots": 1,
                "rating": 6.6755,
                "minutes": 89,
                "total_pass": 60,
                "accurate_pass": 50,
                "duels_won": 3,
                "total_long_balls": 14,
                "accurate_long_balls": 7,
                "total_own_half_passes": 36,
                "accurate_own_half_passes": 35,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 75,
                "possession_lost": 12.8092,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1084,
                "expected_assists": 0.1872,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 24,
                "total_progression": 114,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.6755,
                "minutes": 89,
                "total_pass": 60,
                "accurate_pass": 50,
                "duels_won": 3,
                "total_long_balls": 14,
                "accurate_long_balls": 7,
                "total_own_half_passes": 36,
                "accurate_own_half_passes": 35,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 75,
                "possession_lost": 12.8092,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1084,
                "expected_assists": 0.1872,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 24,
                "total_progression": 114,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.472,
                "opponent_faced": "Tajon Buchanan",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Tajon Buchanan",
                  "matchup_zone": "Left Mid vs Right Back — Wide Channel"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 0.9626, xG scale 1.7972)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.6755,
                "minutes": 89,
                "total_pass": 60,
                "accurate_pass": 50,
                "duels_won": 3,
                "total_long_balls": 14,
                "accurate_long_balls": 7,
                "total_own_half_passes": 36,
                "accurate_own_half_passes": 35,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 75,
                "possession_lost": 12.8092,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1948,
                "expected_assists": 0.1872,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 24,
                "total_progression": 114,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.472,
                "opponent_faced": "Tajon Buchanan",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 0.9626,
                "xg_scale": 1.7972,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1084,
                  "after": 0.1948
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 10, fifa_overall 86.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.6755,
                "minutes": 89,
                "total_pass": 60,
                "accurate_pass": 50,
                "duels_won": 3,
                "total_long_balls": 14,
                "accurate_long_balls": 7,
                "total_own_half_passes": 36,
                "accurate_own_half_passes": 35,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 75,
                "possession_lost": 12.8092,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1948,
                "expected_assists": 0.1872,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 24,
                "total_progression": 114,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.472,
                "opponent_faced": "Tajon Buchanan",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 86.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 118,
                "fifa_rank": 96.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 86.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.6755,
                "minutes": 89,
                "total_pass": 60,
                "accurate_pass": 50,
                "duels_won": 3,
                "total_long_balls": 14,
                "accurate_long_balls": 7,
                "total_own_half_passes": 36,
                "accurate_own_half_passes": 35,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 75,
                "possession_lost": 12.8092,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1948,
                "expected_assists": 0.1872,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 24,
                "total_progression": 114,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.472,
                "opponent_faced": "Tajon Buchanan",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0632,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0632,
                "scorer_weight": 0.4701,
                "squad_weight_total": 14.6318,
                "weight_share": 0.0321,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.6755,
                "minutes": 89,
                "total_pass": 60,
                "accurate_pass": 50,
                "duels_won": 3,
                "total_long_balls": 14,
                "accurate_long_balls": 7,
                "total_own_half_passes": 36,
                "accurate_own_half_passes": 35,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 75,
                "possession_lost": 12.8092,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1948,
                "expected_assists": 0.1872,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 24,
                "total_progression": 114,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 1,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.472,
                "opponent_faced": "Tajon Buchanan",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0632,
                "projected_assists": 0,
                "assist_probability": 0.0556,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0556,
                "provider_weight": 0.3791,
                "squad_weight_total": 6.8209,
                "weight_share": 0.0556,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Ifeanyi Ndukwe": {
          "player_id": 1929673,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 3,
          "height": 198,
          "market_value": 3200000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 2,
            "duels_won": 5,
            "total_pass": 42,
            "accurate_pass": 33,
            "expected_goals": 0.0288,
            "rating": 6.8,
            "minutes": 90,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 27,
            "accurate_own_half_passes": 21,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 7,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 58,
            "possession_lost": 6.2,
            "dispossessed": 0.4,
            "duels_lost": 3,
            "aerial_lost": 2,
            "total_contest": 4,
            "won_contest": 2,
            "ball_recovery": 5,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_assists": 0.045,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.012,
            "key_pass": 1,
            "ball_carries": 19,
            "total_progression": 56,
            "progressive_carries": 4,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.736,
            "opponent_faced": "Georges Mikautadze",
            "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.1286,
            "projected_assists": 0,
            "assist_probability": 0.0517,
            "fifa_overall": 84.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 296,
            "combined_rank_score": 201.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 199.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ifeanyi Ndukwe",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nicolò Barella",
                  "ranking": 291
                },
                {
                  "player_name": "Cody Gakpo",
                  "ranking": 292
                },
                {
                  "player_name": "Nodirbek Abdurazzokov",
                  "ranking": 293
                },
                {
                  "player_name": "Gabriel Słonina",
                  "ranking": 294
                },
                {
                  "player_name": "Reece James",
                  "ranking": 295
                }
              ],
              "lower": [
                {
                  "player_name": "Christian Pulišić",
                  "ranking": 297
                },
                {
                  "player_name": "Zubimendi",
                  "ranking": 298
                },
                {
                  "player_name": "Kim Min-Seung",
                  "ranking": 299
                },
                {
                  "player_name": "Aurélien Tchouaméni",
                  "ranking": 300
                },
                {
                  "player_name": "Robert Lewandowski",
                  "ranking": 301
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "D_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "market_value_adjustment": 0.4399,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€3,200,000) applied for position D (quality factor 0.44)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.44)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 1,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 1,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 1,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Georges Mikautadze",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Georges Mikautadze",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 0.9626, xG scale 1.7972)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.0288,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 1,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Georges Mikautadze",
                "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.73,
                "squad_xg_sum": 0.9626,
                "xg_scale": 1.7972,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.016,
                  "after": 0.0288
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 11, fifa_overall 84.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.0288,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 1,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Georges Mikautadze",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 296,
                "fifa_rank": 199.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.0288,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 1,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Georges Mikautadze",
                "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.1286,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1286,
                "scorer_weight": 0.973,
                "squad_weight_total": 14.6318,
                "weight_share": 0.0665,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.0288,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 1,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Georges Mikautadze",
                "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.1286,
                "projected_assists": 0,
                "assist_probability": 0.0517,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0517,
                "provider_weight": 0.3524,
                "squad_weight_total": 6.8209,
                "weight_share": 0.0517,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Enzo Bardeli": {
          "player_id": 996974,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 172,
          "market_value": 5800000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0691,
            "assists": 1,
            "expected_goals": 0.0812,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8179,
            "minutes": 69,
            "total_pass": 23,
            "accurate_pass": 20,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 11,
            "accurate_own_half_passes": 10,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 33,
            "possession_lost": 7.6849,
            "dispossessed": 0.0,
            "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": 1,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 9,
            "total_progression": 38,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.256,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
            "numerical_situation": "1v1",
            "opponent_defenders": "Alberto Moleiro",
            "opponent_faced": "Alberto Moleiro",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0571,
            "projected_assists": 1,
            "assist_probability": 0.1844,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416329.0,
              "match_date": "2026-09-13 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 4.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Barcelona",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 77,
                "rating": 6.3,
                "assists": 0,
                "expected_goals": 0.0405,
                "expected_assists": 0.1481,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 3,
                "aerial_won": 1,
                "duels_won": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 65,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 1,
                "expected_goals": 0.0193,
                "expected_assists": 0.1563,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 27,
                "accurate_pass": 25,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.1452,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 20,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 18,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4002,
            "combined_rank_score": 1982.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3520.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "projected_match_rating": 6.8179,
            "source_file": "data/player_rankings.csv",
            "player_name": "Enzo Bardeli",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Junior Sornoza",
                  "ranking": 3997
                },
                {
                  "player_name": "Tai Baribo",
                  "ranking": 3998
                },
                {
                  "player_name": "Claudio Echeverri",
                  "ranking": 3999
                },
                {
                  "player_name": "Turrientes",
                  "ranking": 4000
                },
                {
                  "player_name": "Agirrezabala",
                  "ranking": 4001
                }
              ],
              "lower": [
                {
                  "player_name": "Andrés García",
                  "ranking": 4003
                },
                {
                  "player_name": "Antoni Milambo",
                  "ranking": 4004
                },
                {
                  "player_name": "Loum Tchaouna",
                  "ranking": 4005
                },
                {
                  "player_name": "Marco Grüll",
                  "ranking": 4006
                },
                {
                  "player_name": "Soungoutou Magassa",
                  "ranking": 4007
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9916,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0697,
                "assists": 0,
                "expected_goals": 0.0456,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8756,
                "minutes": 69,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 10,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 7.75,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 38,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.5806,
                  "ballRecovery_p90": 2.2482,
                  "progressiveBallCarriesCount": 0.9469,
                  "expectedAssists": 0.1231,
                  "ballRecovery": 1.4524
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.007529854774475,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0484
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0462
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0443
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0396
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0198
                        }
                      ],
                      "others": -0.0631,
                      "total": 1.0075
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06966898590326309,
                    "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.0113
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0092
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0069
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0047
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.0092,
                      "total": 0.0697
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09143152832984924,
                    "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.0066
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0045
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0041
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0032
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0031
                        }
                      ],
                      "others": -0.0035,
                      "total": 0.0914
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.045563556253910065,
                    "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.0267
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0152
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0086
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0035
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0061,
                      "total": 0.0456
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.25464603304862976,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0598
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0168
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0152
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0111
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0071
                        }
                      ],
                      "others": -0.0156,
                      "total": 0.2546
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0364209413528442,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "history_matches",
                          "contribution": 0.1225
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0785
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.066
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0383
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0338
                        }
                      ],
                      "others": -0.0849,
                      "total": 1.0364
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.875625133514404,
                    "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": "passValueNormalized",
                          "contribution": 0.0309
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0298
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0297
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0243
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0223
                        }
                      ],
                      "others": -0.0336,
                      "total": 6.8756
                    }
                  }
                ],
                "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.0691,
                "assists": 0,
                "expected_goals": 0.0452,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8179,
                "minutes": 69,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 7.6849,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 38,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 5800000,
                "quality_factor": 0.472,
                "boost_factor": 0.9916
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0691,
                "assists": 0,
                "expected_goals": 0.0452,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8179,
                "minutes": 69,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 7.6849,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 38,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0691,
                "assists": 0,
                "expected_goals": 0.0452,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8179,
                "minutes": 69,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 7.6849,
                "dispossessed": 0.0,
                "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": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 38,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.256,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alberto Moleiro",
                "opponent_faced": "Alberto Moleiro",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Alberto Moleiro",
                  "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                  "duel_win_rate": 0.256,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.8
                },
                {
                  "stat": "totalShots",
                  "before": 1.0277,
                  "after": 1.2
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 0.9626, xG scale 1.7972)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0691,
                "assists": 0,
                "expected_goals": 0.0812,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8179,
                "minutes": 69,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 7.6849,
                "dispossessed": 0.0,
                "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": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 38,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.256,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alberto Moleiro",
                "opponent_faced": "Alberto Moleiro",
                "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.73,
                "squad_xg_sum": 0.9626,
                "xg_scale": 1.7972,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0452,
                  "after": 0.0812
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 7, fifa_overall 73.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0691,
                "assists": 0,
                "expected_goals": 0.0812,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8179,
                "minutes": 69,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 7.6849,
                "dispossessed": 0.0,
                "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": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 38,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.256,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alberto Moleiro",
                "opponent_faced": "Alberto Moleiro",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4002,
                "fifa_rank": 3520.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0691,
                "assists": 0,
                "expected_goals": 0.0812,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8179,
                "minutes": 69,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 7.6849,
                "dispossessed": 0.0,
                "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": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 38,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.256,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alberto Moleiro",
                "opponent_faced": "Alberto Moleiro",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0571,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0571,
                "scorer_weight": 0.4239,
                "squad_weight_total": 14.6318,
                "weight_share": 0.029,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0691,
                "assists": 1,
                "expected_goals": 0.0812,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8179,
                "minutes": 69,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 7.6849,
                "dispossessed": 0.0,
                "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": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 38,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.256,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alberto Moleiro",
                "opponent_faced": "Alberto Moleiro",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0571,
                "projected_assists": 1,
                "assist_probability": 0.1844,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.1844,
                "provider_weight": 1.2579,
                "squad_weight_total": 6.8209,
                "weight_share": 0.1844,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Hugo Sotelo": {
          "player_id": 1120669,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 5,
          "height": 180,
          "market_value": 4800000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0321,
            "assists": 0,
            "expected_goals": 0.076,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6455,
            "minutes": 13,
            "total_pass": 44,
            "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": 8,
            "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,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "opponent_faced": "Tajon Buchanan",
            "matchup_zone": "Midfield lane",
            "antagonist_source": "midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0548,
            "projected_assists": 0,
            "assist_probability": 0.1575,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 13,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 25,
                "rating": 6.8,
                "assists": 0,
                "expected_assists": 0.0037,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 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": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 1,
                "assists": 0,
                "expected_goals": 0.0784,
                "total_shots": 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": 3677,
            "combined_rank_score": 1634.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 363.0,
            "sofascore_rating": 6.975,
            "sofascore_appearances": 20.0,
            "fifa_rank": 2905.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "projected_match_rating": 6.6455,
            "source_file": "data/player_rankings.csv",
            "player_name": "Hugo Sotelo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Haji Wright",
                  "ranking": 3672
                },
                {
                  "player_name": "Willer Ditta",
                  "ranking": 3673
                },
                {
                  "player_name": "Eren Elmalı",
                  "ranking": 3674
                },
                {
                  "player_name": "Erik Lira",
                  "ranking": 3675
                },
                {
                  "player_name": "Milan Borjan",
                  "ranking": 3676
                }
              ],
              "lower": [
                {
                  "player_name": "Donovan Léon",
                  "ranking": 3678
                },
                {
                  "player_name": "Medrán",
                  "ranking": 3679
                },
                {
                  "player_name": "Tozé",
                  "ranking": 3680
                },
                {
                  "player_name": "Saïd Benrahma",
                  "ranking": 3681
                },
                {
                  "player_name": "Zaydou Youssouf",
                  "ranking": 3682
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "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",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9879,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 3 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0325,
                "assists": 0,
                "expected_goals": 0.0428,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7268,
                "minutes": 13,
                "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": 8,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": null
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.2809,
                  "ballRecovery_p90": 2.6912,
                  "progressiveBallCarriesCount": 0.0,
                  "expectedAssists": 0.0012,
                  "ballRecovery": 0.3887
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6819514036178589,
                    "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.0753
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0584
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0518
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0468
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0319
                        }
                      ],
                      "others": -0.1397,
                      "total": 0.682
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.032477788627147675,
                    "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.0164
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0086
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0069
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0056
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.0184,
                      "total": 0.0325
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.0701502114534378,
                    "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.0069
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0058
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0048
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0031
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0016
                        }
                      ],
                      "others": -0.0064,
                      "total": 0.0702
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04282194375991821,
                    "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.0257
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0099
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0084
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0054
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0117,
                      "total": 0.0428
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2594597339630127,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0425
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0343
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0341
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.012
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0099
                        }
                      ],
                      "others": -0.0281,
                      "total": 0.2595
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8301210403442383,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1398
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0857
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0819
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0767
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0724
                        }
                      ],
                      "others": -0.2518,
                      "total": 0.8301
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.72678804397583,
                    "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.0276
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0249
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0204
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0178
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0177
                        }
                      ],
                      "others": -0.0322,
                      "total": 6.7268
                    }
                  }
                ],
                "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.9879, quality 0.460)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0321,
                "assists": 0,
                "expected_goals": 0.0423,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6455,
                "minutes": 13,
                "total_pass": 44,
                "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": 8,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 4800000,
                "quality_factor": 0.4597,
                "boost_factor": 0.9879
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0321,
                "assists": 0,
                "expected_goals": 0.0423,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6455,
                "minutes": 13,
                "total_pass": 44,
                "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": 8,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0321,
                "assists": 0,
                "expected_goals": 0.0423,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6455,
                "minutes": 13,
                "total_pass": 44,
                "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": 8,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "opponent_faced": "Tajon Buchanan",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Tajon Buchanan",
                  "matchup_zone": "Midfield lane"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 0.9626, xG scale 1.7972)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0321,
                "assists": 0,
                "expected_goals": 0.076,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6455,
                "minutes": 13,
                "total_pass": 44,
                "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": 8,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "opponent_faced": "Tajon Buchanan",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 0.9626,
                "xg_scale": 1.7972,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0423,
                  "after": 0.076
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 8, fifa_overall 74.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0321,
                "assists": 0,
                "expected_goals": 0.076,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6455,
                "minutes": 13,
                "total_pass": 44,
                "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": 8,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "opponent_faced": "Tajon Buchanan",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3677,
                "fifa_rank": 2905.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0321,
                "assists": 0,
                "expected_goals": 0.076,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6455,
                "minutes": 13,
                "total_pass": 44,
                "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": 8,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "opponent_faced": "Tajon Buchanan",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0548,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0548,
                "scorer_weight": 0.4068,
                "squad_weight_total": 14.6318,
                "weight_share": 0.0278,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0321,
                "assists": 0,
                "expected_goals": 0.076,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6455,
                "minutes": 13,
                "total_pass": 44,
                "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": 8,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "opponent_faced": "Tajon Buchanan",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0548,
                "projected_assists": 0,
                "assist_probability": 0.1575,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1575,
                "provider_weight": 1.0741,
                "squad_weight_total": 6.8209,
                "weight_share": 0.1575,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Thiago Fernández": {
          "player_id": 1201412,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 24,
          "height": 175,
          "market_value": 4700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0627,
            "assists": 0,
            "expected_goals": 0.2619,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8105,
            "minutes": 75,
            "total_pass": 17,
            "accurate_pass": 14,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 10,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 30,
            "possession_lost": 6.2512,
            "dispossessed": 0.0,
            "duels_lost": 4,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 2,
            "challenges_lost": 2,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 13,
            "total_progression": 51,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "opponent_faced": "Alberto Moleiro, Ilias Akhomach",
            "matchup_zone": "Midfield lane",
            "antagonist_source": "midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1266,
            "projected_assists": 0,
            "assist_probability": 0.1775,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416329.0,
              "match_date": "2026-09-13 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 4.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Barcelona",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 77,
                "rating": 7.0,
                "assists": 0,
                "expected_goals": 0.3621,
                "expected_assists": 0.0286,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 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": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 72,
                "rating": 7.0,
                "assists": 0,
                "expected_goals": 0.0412,
                "expected_assists": 0.2341,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 19,
                "key_pass": 1,
                "interceptions": 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": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 78,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.0479,
                "expected_assists": 0.0083,
                "total_shots": 1,
                "total_pass": 15,
                "accurate_pass": 11,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3756,
            "combined_rank_score": 1748.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 2.0,
            "fifa_rank": 2919.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "projected_match_rating": 6.8105,
            "source_file": "data/player_rankings.csv",
            "player_name": "Thiago Fernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ezequiel Piovi",
                  "ranking": 3751
                },
                {
                  "player_name": "Patrick Pflücke",
                  "ranking": 3752
                },
                {
                  "player_name": "Junya Ito",
                  "ranking": 3753
                },
                {
                  "player_name": "Mario Martín",
                  "ranking": 3754
                },
                {
                  "player_name": "Doğucan Haspolat",
                  "ranking": 3755
                }
              ],
              "lower": [
                {
                  "player_name": "Jarne Steuckers",
                  "ranking": 3757
                },
                {
                  "player_name": "Rodrigo Gomes",
                  "ranking": 3758
                },
                {
                  "player_name": "Myrto Uzuni",
                  "ranking": 3759
                },
                {
                  "player_name": "Joel Ordoñez",
                  "ranking": 3760
                },
                {
                  "player_name": "Benjamin Lecomte",
                  "ranking": 3761
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "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",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9875,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 3 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0635,
                "assists": 0,
                "expected_goals": 0.1475,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8964,
                "minutes": 76,
                "total_pass": 17,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 6.33,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 2,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 52,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.7775,
                  "ballRecovery_p90": 3.0089,
                  "progressiveBallCarriesCount": 1.6608,
                  "expectedAssists": 0.0908,
                  "ballRecovery": 2.5549
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.0836577415466309,
                    "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.0756
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0504
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0482
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0268
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0241
                        }
                      ],
                      "others": -0.0087,
                      "total": 1.0837
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06352031230926514,
                    "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.0113
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0086
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0061
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0054
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.0161,
                      "total": 0.0635
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08152002841234207,
                    "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.0071
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0051
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0032
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.003
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0025
                        }
                      ],
                      "others": -0.0106,
                      "total": 0.0815
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.14752715826034546,
                    "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.0225
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0161
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0075
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0061
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0063
                        }
                      ],
                      "others": 0.0275,
                      "total": 0.1475
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4001465141773224,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.0286
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0192
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0163
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0127
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0098
                        }
                      ],
                      "others": 0.0391,
                      "total": 0.4001
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.385528802871704,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.2063
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.084
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0816
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0696
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0694
                        }
                      ],
                      "others": -0.0158,
                      "total": 1.3855
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.896404266357422,
                    "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.0222
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0216
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0203
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0195
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0173
                        }
                      ],
                      "others": -0.0017,
                      "total": 6.8964
                    }
                  }
                ],
                "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.9875, quality 0.458)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0627,
                "assists": 0,
                "expected_goals": 0.1457,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8105,
                "minutes": 75,
                "total_pass": 17,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 6.2512,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 2,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 51,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 4700000,
                "quality_factor": 0.4585,
                "boost_factor": 0.9875
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0627,
                "assists": 0,
                "expected_goals": 0.1457,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8105,
                "minutes": 75,
                "total_pass": 17,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 6.2512,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 2,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 51,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0627,
                "assists": 0,
                "expected_goals": 0.1457,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8105,
                "minutes": 75,
                "total_pass": 17,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 6.2512,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 2,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 51,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "opponent_faced": "Alberto Moleiro, Ilias Akhomach",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Alberto Moleiro, Ilias Akhomach",
                  "matchup_zone": "Midfield lane"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 0.9626, xG scale 1.7972)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0627,
                "assists": 0,
                "expected_goals": 0.2619,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8105,
                "minutes": 75,
                "total_pass": 17,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 6.2512,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 2,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 51,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "opponent_faced": "Alberto Moleiro, Ilias Akhomach",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 0.9626,
                "xg_scale": 1.7972,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1457,
                  "after": 0.2619
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 9, fifa_overall 74.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0627,
                "assists": 0,
                "expected_goals": 0.2619,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8105,
                "minutes": 75,
                "total_pass": 17,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 6.2512,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 2,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 51,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "opponent_faced": "Alberto Moleiro, Ilias Akhomach",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3756,
                "fifa_rank": 2919.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0627,
                "assists": 0,
                "expected_goals": 0.2619,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8105,
                "minutes": 75,
                "total_pass": 17,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 6.2512,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 2,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 51,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "opponent_faced": "Alberto Moleiro, Ilias Akhomach",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1266,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1266,
                "scorer_weight": 0.9576,
                "squad_weight_total": 14.6318,
                "weight_share": 0.0654,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0627,
                "assists": 0,
                "expected_goals": 0.2619,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8105,
                "minutes": 75,
                "total_pass": 17,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 6.2512,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 1,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 2,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 51,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "opponent_faced": "Alberto Moleiro, Ilias Akhomach",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1266,
                "projected_assists": 0,
                "assist_probability": 0.1775,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1775,
                "provider_weight": 1.2104,
                "squad_weight_total": 6.8209,
                "weight_share": 0.1775,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Etta Eyong": {
          "player_id": 1393673,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 21,
          "height": 181,
          "market_value": 15600000,
          "stats": {
            "expected_goals": 0.1447,
            "goal_rate": 0.1914,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0367,
            "key_pass": 1,
            "rating": 6.891,
            "minutes": 22,
            "total_pass": 0,
            "accurate_pass": 0,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 10,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 4,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Renato Veiga, Santiago Mouriño",
            "opponent_faced": "Renato Veiga, Santiago Mouriño",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.3057,
            "projected_assists": 0,
            "assist_probability": 0.0928,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 18,
                "rating": 7.5,
                "assists": 1,
                "expected_goals": 0.0434,
                "expected_assists": 0.2699,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 3,
                "key_pass": 1,
                "tackles": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "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": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 6.2,
                "assists": 0,
                "expected_goals": 0.0529,
                "expected_assists": 0.0044,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 3,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3474,
            "combined_rank_score": 1464.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 511.0,
            "sofascore_rating": 6.85,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2418.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "projected_match_rating": 6.891,
            "source_file": "data/player_rankings.csv",
            "player_name": "Etta Eyong",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nabil Bentaleb",
                  "ranking": 3469
                },
                {
                  "player_name": "Ludovic Ajorque",
                  "ranking": 3470
                },
                {
                  "player_name": "Jonathan Gradit",
                  "ranking": 3471
                },
                {
                  "player_name": "Ruben Aguilar",
                  "ranking": 3472
                },
                {
                  "player_name": "Arnaut Danjuma",
                  "ranking": 3473
                }
              ],
              "lower": [
                {
                  "player_name": "Thilo Kehrer",
                  "ranking": 3475
                },
                {
                  "player_name": "Takumi Minamino",
                  "ranking": 3476
                },
                {
                  "player_name": "Dani Cárdenas",
                  "ranking": 3477
                },
                {
                  "player_name": "Pierre Lees-Melou",
                  "ranking": 3478
                },
                {
                  "player_name": "Marc Aguado",
                  "ranking": 3479
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0257,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 3 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1217,
                "goal_rate": 0.1866,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0358,
                "key_pass": 1,
                "rating": 6.7183,
                "minutes": 21,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": null
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "minutesPlayed": 19.966,
                  "totalShots": 0.6696,
                  "onTargetScoringAttempt": 0.3887,
                  "touches": 9.5316,
                  "dribbleValueNormalized": 0.0419
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12173466384410858,
                    "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.0663
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0276
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0196
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.017
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0151
                        }
                      ],
                      "others": -0.0636,
                      "total": 0.1217
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.18658196926116943,
                    "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.0821
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0388
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.033
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0147
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0157
                        }
                      ],
                      "others": -0.0354,
                      "total": 0.1866
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5549889802932739,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.049
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0475
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0303
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.016
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0128
                        }
                      ],
                      "others": -0.0493,
                      "total": 0.555
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.4642552137374878,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3161
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1665
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0481
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0423
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0381
                        }
                      ],
                      "others": -0.1724,
                      "total": 1.4643
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03577512502670288,
                    "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.0097
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0064
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0039
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0029
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.0025,
                      "total": 0.0358
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5681066513061523,
                    "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.1541
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.084
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0543
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0284
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0271
                        }
                      ],
                      "others": -0.0751,
                      "total": 0.5681
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.718328475952148,
                    "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.0806
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0722
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0495
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0398
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0376
                        }
                      ],
                      "others": 0.048,
                      "total": 6.7183
                    }
                  }
                ],
                "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.0257, quality 0.586)",
              "stats": {
                "expected_goals": 0.1249,
                "goal_rate": 0.1914,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0367,
                "key_pass": 1,
                "rating": 6.891,
                "minutes": 22,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 15600000,
                "quality_factor": 0.5857,
                "boost_factor": 1.0257
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1249,
                "goal_rate": 0.1914,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0367,
                "key_pass": 1,
                "rating": 6.891,
                "minutes": 22,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.0805,
                "goal_rate": 0.1914,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0367,
                "key_pass": 1,
                "rating": 6.891,
                "minutes": 22,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Santiago Mouriño",
                "opponent_faced": "Renato Veiga, Santiago Mouriño",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Renato Veiga, Santiago Mouriño",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v2",
                  "xg_override": 0.0805
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.502,
                  "after": 2.0
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1249,
                  "after": 0.0805
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 0.9626, xG scale 1.7972)",
              "stats": {
                "expected_goals": 0.1447,
                "goal_rate": 0.1914,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0367,
                "key_pass": 1,
                "rating": 6.891,
                "minutes": 22,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Santiago Mouriño",
                "opponent_faced": "Renato Veiga, Santiago Mouriño",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 0.9626,
                "xg_scale": 1.7972,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0805,
                  "after": 0.1447
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 1, fifa_overall 75.0)",
              "stats": {
                "expected_goals": 0.1447,
                "goal_rate": 0.1914,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0367,
                "key_pass": 1,
                "rating": 6.891,
                "minutes": 22,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Santiago Mouriño",
                "opponent_faced": "Renato Veiga, Santiago Mouriño",
                "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",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3474,
                "fifa_rank": 2418.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.1447,
                "goal_rate": 0.1914,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0367,
                "key_pass": 1,
                "rating": 6.891,
                "minutes": 22,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Santiago Mouriño",
                "opponent_faced": "Renato Veiga, Santiago Mouriño",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.3057,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.3057,
                "scorer_weight": 2.4402,
                "squad_weight_total": 14.6318,
                "weight_share": 0.1668,
                "position_multiplier": 1.45
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.1447,
                "goal_rate": 0.1914,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0367,
                "key_pass": 1,
                "rating": 6.891,
                "minutes": 22,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Santiago Mouriño",
                "opponent_faced": "Renato Veiga, Santiago Mouriño",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.3057,
                "projected_assists": 0,
                "assist_probability": 0.0928,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0928,
                "provider_weight": 0.6332,
                "squad_weight_total": 6.8209,
                "weight_share": 0.0928,
                "position_multiplier": 0.85
              }
            }
          ]
        },
        "Petar Ratkov": {
          "player_id": 1101942,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 20,
          "height": 187,
          "market_value": 8400000,
          "stats": {
            "expected_goals": 0.4484,
            "goal_rate": 0.16,
            "goals": 1,
            "total_shots": 2,
            "shots_on_target": 1,
            "expected_assists": 0.09,
            "duels_won": 4,
            "aerial_won": 1,
            "rating": 7.0,
            "minutes": 90,
            "total_pass": 29,
            "accurate_pass": 21,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 11,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 43,
            "possession_lost": 8.5,
            "dispossessed": 1.1,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 6,
            "won_contest": 3,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assists": 0,
            "shots_off_target": 1,
            "key_pass": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.191,
            "offsides": 1,
            "ball_carries": 20,
            "total_progression": 50,
            "progressive_carries": 5,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.1,
            "crosses_attempted": 2.0,
            "duel_win_rate": 0.418,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Right Wing vs Left Wingback — Compact Flank",
            "numerical_situation": "1v1",
            "opponent_defenders": "Carlos Romero",
            "opponent_faced": "Carlos Romero",
            "antagonist_source": "defensive_duel, attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.5047,
            "projected_assists": 0,
            "assist_probability": 0.1188,
            "fifa_overall": 68.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 5795,
            "combined_rank_score": 4058.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 7956.0,
            "fifa_overall": 68.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "projected_match_rating": 7.0,
            "source_file": "data/player_rankings.csv",
            "player_name": "Petar Ratkov",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Samuel Mráz",
                  "ranking": 5790
                },
                {
                  "player_name": "José Sagredo",
                  "ranking": 5791
                },
                {
                  "player_name": "Jahmai Simpson-Pusey",
                  "ranking": 5792
                },
                {
                  "player_name": "Keisuke Gotō",
                  "ranking": 5793
                },
                {
                  "player_name": "Baltasar Barcia",
                  "ranking": 5794
                }
              ],
              "lower": [
                {
                  "player_name": "Ayoube Amaimouni",
                  "ranking": 5796
                },
                {
                  "player_name": "Robert Skov",
                  "ranking": 5797
                },
                {
                  "player_name": "Jonathan Perlaza",
                  "ranking": 5798
                },
                {
                  "player_name": "Juan Manuel Elordi",
                  "ranking": 5799
                },
                {
                  "player_name": "Marvin Friedrich",
                  "ranking": 5800
                }
              ]
            }
          },
          "data_sources": [
            "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.5035,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€8,400,000) applied for position F (quality factor 0.50)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position F (quality 0.50)",
              "stats": {
                "expected_goals": 0.251,
                "goal_rate": 0.16,
                "goals": 0,
                "total_shots": 3,
                "shots_on_target": 1,
                "expected_assists": 0.09,
                "duels_won": 4,
                "aerial_won": 2,
                "rating": 7.0,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 21,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 11,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 43,
                "possession_lost": 8.5,
                "dispossessed": 1.1,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 1,
                "key_pass": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.191,
                "offsides": 1,
                "ball_carries": 20,
                "total_progression": 50,
                "progressive_carries": 5
              },
              "params": {
                "market_value_eur": 8400000,
                "quality_factor": 0.5035
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.251,
                "goal_rate": 0.16,
                "goals": 0,
                "total_shots": 3,
                "shots_on_target": 1,
                "expected_assists": 0.09,
                "duels_won": 4,
                "aerial_won": 2,
                "rating": 7.0,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 21,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 11,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 43,
                "possession_lost": 8.5,
                "dispossessed": 1.1,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 1,
                "key_pass": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.191,
                "offsides": 1,
                "ball_carries": 20,
                "total_progression": 50,
                "progressive_carries": 5
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.2495,
                "goal_rate": 0.16,
                "goals": 0,
                "total_shots": 2,
                "shots_on_target": 1,
                "expected_assists": 0.09,
                "duels_won": 4,
                "aerial_won": 1,
                "rating": 7.0,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 21,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 11,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 43,
                "possession_lost": 8.5,
                "dispossessed": 1.1,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 1,
                "key_pass": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.191,
                "offsides": 1,
                "ball_carries": 20,
                "total_progression": 50,
                "progressive_carries": 5,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.418,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Wingback — Compact Flank",
                "numerical_situation": "1v1",
                "opponent_defenders": "Carlos Romero",
                "opponent_faced": "Carlos Romero",
                "antagonist_source": "defensive_duel, attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Carlos Romero",
                  "matchup_zone": "Right Wing vs Left Wingback — Compact Flank",
                  "duel_win_rate": 0.418,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v1",
                  "xg_override": 0.2495
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.6,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 2.6,
                  "after": 2.3
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 0.9626, xG scale 1.7972)",
              "stats": {
                "expected_goals": 0.4484,
                "goal_rate": 0.16,
                "goals": 0,
                "total_shots": 2,
                "shots_on_target": 1,
                "expected_assists": 0.09,
                "duels_won": 4,
                "aerial_won": 1,
                "rating": 7.0,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 21,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 11,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 43,
                "possession_lost": 8.5,
                "dispossessed": 1.1,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 1,
                "key_pass": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.191,
                "offsides": 1,
                "ball_carries": 20,
                "total_progression": 50,
                "progressive_carries": 5,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.418,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Wingback — Compact Flank",
                "numerical_situation": "1v1",
                "opponent_defenders": "Carlos Romero",
                "opponent_faced": "Carlos Romero",
                "antagonist_source": "defensive_duel, attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 0.9626,
                "xg_scale": 1.7972,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2495,
                  "after": 0.4484
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 4, fifa_overall 68.0)",
              "stats": {
                "expected_goals": 0.4484,
                "goal_rate": 0.16,
                "goals": 0,
                "total_shots": 2,
                "shots_on_target": 1,
                "expected_assists": 0.09,
                "duels_won": 4,
                "aerial_won": 1,
                "rating": 7.0,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 21,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 11,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 43,
                "possession_lost": 8.5,
                "dispossessed": 1.1,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 1,
                "key_pass": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.191,
                "offsides": 1,
                "ball_carries": 20,
                "total_progression": 50,
                "progressive_carries": 5,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.418,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Wingback — Compact Flank",
                "numerical_situation": "1v1",
                "opponent_defenders": "Carlos Romero",
                "opponent_faced": "Carlos Romero",
                "antagonist_source": "defensive_duel, attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 68.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5795,
                "fifa_rank": 7956.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 68.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.4484,
                "goal_rate": 0.16,
                "goals": 1,
                "total_shots": 2,
                "shots_on_target": 1,
                "expected_assists": 0.09,
                "duels_won": 4,
                "aerial_won": 1,
                "rating": 7.0,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 21,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 11,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 43,
                "possession_lost": 8.5,
                "dispossessed": 1.1,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 1,
                "key_pass": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.191,
                "offsides": 1,
                "ball_carries": 20,
                "total_progression": 50,
                "progressive_carries": 5,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.418,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Wingback — Compact Flank",
                "numerical_situation": "1v1",
                "opponent_defenders": "Carlos Romero",
                "opponent_faced": "Carlos Romero",
                "antagonist_source": "defensive_duel, attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.5047,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 1,
                "goal_probability": 0.5047,
                "scorer_weight": 4.3338,
                "squad_weight_total": 14.6318,
                "weight_share": 0.2962,
                "position_multiplier": 1.45
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.4484,
                "goal_rate": 0.16,
                "goals": 1,
                "total_shots": 2,
                "shots_on_target": 1,
                "expected_assists": 0.09,
                "duels_won": 4,
                "aerial_won": 1,
                "rating": 7.0,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 21,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 11,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 43,
                "possession_lost": 8.5,
                "dispossessed": 1.1,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 1,
                "key_pass": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.191,
                "offsides": 1,
                "ball_carries": 20,
                "total_progression": 50,
                "progressive_carries": 5,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.418,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Wingback — Compact Flank",
                "numerical_situation": "1v1",
                "opponent_defenders": "Carlos Romero",
                "opponent_faced": "Carlos Romero",
                "antagonist_source": "defensive_duel, attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.5047,
                "projected_assists": 0,
                "assist_probability": 0.1188,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1188,
                "provider_weight": 0.8106,
                "squad_weight_total": 6.8209,
                "weight_share": 0.1188,
                "position_multiplier": 0.85
              }
            }
          ]
        },
        "Iván Romero": {
          "player_id": 1014042,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 172,
          "market_value": 7400000,
          "stats": {
            "expected_goals": 0.3602,
            "goal_rate": 0.3303,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.036,
            "key_pass": 1,
            "rating": 6.7598,
            "minutes": 71,
            "total_pass": 13,
            "accurate_pass": 10,
            "duels_won": 5,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 26,
            "possession_lost": 8.4782,
            "dispossessed": 0.0,
            "duels_lost": 6,
            "aerial_lost": 3,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 10,
            "total_progression": 0,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "dribbles_attempted": 3,
            "dribbles_successful": 0.9,
            "aerial_won": 1,
            "crosses_attempted": 2.0,
            "duel_win_rate": 0.35,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Wingback — Compact Flank",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pau Navarro",
            "opponent_faced": "Pau Navarro",
            "antagonist_source": "defensive_duel, attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.4845,
            "projected_assists": 0,
            "assist_probability": 0.0916,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416329.0,
              "match_date": "2026-09-13 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 4.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Barcelona",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 60,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.1053,
                "expected_assists": 0.1303,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 8,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 72,
                "rating": 6.2,
                "assists": 0,
                "expected_goals": 1.0922,
                "expected_assists": 0.0085,
                "total_shots": 6,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 12,
                "accurate_pass": 10,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 89,
                "rating": 6.1,
                "assists": 0,
                "expected_goals": 0.4209,
                "expected_assists": 0.0291,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 16,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 64,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0291,
                "expected_assists": 0.003,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 9,
                "tackles": 3,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3447,
            "combined_rank_score": 1440.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 469.0,
            "sofascore_rating": 6.8844,
            "sofascore_appearances": 32.0,
            "fifa_rank": 2411.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "projected_match_rating": 6.7598,
            "source_file": "data/player_rankings.csv",
            "player_name": "Iván Romero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Filip Jörgensen",
                  "ranking": 3442
                },
                {
                  "player_name": "Luis Muriel",
                  "ranking": 3443
                },
                {
                  "player_name": "Ethan Nwaneri",
                  "ranking": 3444
                },
                {
                  "player_name": "Lucas Martínez Quarta",
                  "ranking": 3445
                },
                {
                  "player_name": "Ben Davies",
                  "ranking": 3446
                }
              ],
              "lower": [
                {
                  "player_name": "Josh Acheampong",
                  "ranking": 3448
                },
                {
                  "player_name": "Ryan Yates",
                  "ranking": 3449
                },
                {
                  "player_name": "Scott McKenna",
                  "ranking": 3450
                },
                {
                  "player_name": "Cédric Kipré",
                  "ranking": 3451
                },
                {
                  "player_name": "Connor Roberts",
                  "ranking": 3452
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9974,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 4 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2245,
                "goal_rate": 0.3311,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0361,
                "key_pass": 1,
                "rating": 6.7771,
                "minutes": 71,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.5,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 10,
                "total_progression": 0,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "minutesPlayed": 70.5469,
                  "totalShots": 2.8742,
                  "onTargetScoringAttempt": 0.8473,
                  "touches": 26.4153,
                  "dribbleValueNormalized": 0.2035
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.22450010478496552,
                    "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.0355
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0307
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0106
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0099
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0096
                        }
                      ],
                      "others": -0.0451,
                      "total": 0.2245
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.33114099502563477,
                    "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": "totalShots",
                          "contribution": 0.085
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0809
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.029
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0255
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0175
                        }
                      ],
                      "others": 0.0025,
                      "total": 0.3311
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.7229974865913391,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0681
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0438
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0315
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0217
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0146
                        }
                      ],
                      "others": 0.0272,
                      "total": 0.723
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.7720922231674194,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.2046
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1644
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.1086
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0608
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0492
                        }
                      ],
                      "others": -0.0309,
                      "total": 1.7721
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.036096084862947464,
                    "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.0065
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0038
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0029
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0028
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0093,
                      "total": 0.0361
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6274028420448303,
                    "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.1121
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0678
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0404
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0251
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0233
                        }
                      ],
                      "others": -0.0918,
                      "total": 0.6274
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.777142524719238,
                    "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.082
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0637
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0602
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0511
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0371
                        }
                      ],
                      "others": -0.036,
                      "total": 6.7771
                    }
                  }
                ],
                "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.9974, quality 0.491)",
              "stats": {
                "expected_goals": 0.2239,
                "goal_rate": 0.3303,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.036,
                "key_pass": 1,
                "rating": 6.7598,
                "minutes": 71,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4782,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 10,
                "total_progression": 0,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 7400000,
                "quality_factor": 0.4915,
                "boost_factor": 0.9974
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2239,
                "goal_rate": 0.3303,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.036,
                "key_pass": 1,
                "rating": 6.7598,
                "minutes": 71,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4782,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 10,
                "total_progression": 0,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.2004,
                "goal_rate": 0.3303,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.036,
                "key_pass": 1,
                "rating": 6.7598,
                "minutes": 71,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4782,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 10,
                "total_progression": 0,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "aerial_won": 1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.35,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Wingback — Compact Flank",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pau Navarro",
                "opponent_faced": "Pau Navarro",
                "antagonist_source": "defensive_duel, attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pau Navarro",
                  "matchup_zone": "Left Wing vs Right Wingback — Compact Flank",
                  "duel_win_rate": 0.35,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_override": 0.2004
                }
              },
              "changes": [
                {
                  "stat": "expectedGoals",
                  "before": 0.2239,
                  "after": 0.2004
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 0.9626, xG scale 1.7972)",
              "stats": {
                "expected_goals": 0.3602,
                "goal_rate": 0.3303,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.036,
                "key_pass": 1,
                "rating": 6.7598,
                "minutes": 71,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4782,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 10,
                "total_progression": 0,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "aerial_won": 1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.35,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Wingback — Compact Flank",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pau Navarro",
                "opponent_faced": "Pau Navarro",
                "antagonist_source": "defensive_duel, attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 0.9626,
                "xg_scale": 1.7972,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2004,
                  "after": 0.3602
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 5, fifa_overall 75.0)",
              "stats": {
                "expected_goals": 0.3602,
                "goal_rate": 0.3303,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.036,
                "key_pass": 1,
                "rating": 6.7598,
                "minutes": 71,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4782,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 10,
                "total_progression": 0,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "aerial_won": 1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.35,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Wingback — Compact Flank",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pau Navarro",
                "opponent_faced": "Pau Navarro",
                "antagonist_source": "defensive_duel, 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",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3447,
                "fifa_rank": 2411.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.3602,
                "goal_rate": 0.3303,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.036,
                "key_pass": 1,
                "rating": 6.7598,
                "minutes": 71,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4782,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 10,
                "total_progression": 0,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "aerial_won": 1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.35,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Wingback — Compact Flank",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pau Navarro",
                "opponent_faced": "Pau Navarro",
                "antagonist_source": "defensive_duel, attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4845,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 1,
                "goal_probability": 0.4845,
                "scorer_weight": 4.1267,
                "squad_weight_total": 14.6318,
                "weight_share": 0.282,
                "position_multiplier": 1.45
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.3602,
                "goal_rate": 0.3303,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.036,
                "key_pass": 1,
                "rating": 6.7598,
                "minutes": 71,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4782,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 10,
                "total_progression": 0,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "aerial_won": 1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.35,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Wingback — Compact Flank",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pau Navarro",
                "opponent_faced": "Pau Navarro",
                "antagonist_source": "defensive_duel, attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4845,
                "projected_assists": 0,
                "assist_probability": 0.0916,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0916,
                "provider_weight": 0.625,
                "squad_weight_total": 6.8209,
                "weight_share": 0.0916,
                "position_multiplier": 0.85
              }
            }
          ]
        }
      },
      "bench_players": {
        "Pablo Cunat Campos": {
          "player_id": 2660173,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 1,
          "height": 188,
          "market_value": 1600000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.022,
            "rating": 6.8,
            "minutes": 4,
            "total_pass": 1,
            "accurate_pass": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "touches": 2,
            "clearances": 0,
            "ball_recovery": 0,
            "high_claims": 0,
            "punches": 0.0146,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1171,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.395,
            "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": 88.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 37,
            "combined_rank_score": 46.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 49.0,
            "sofascore_rating": 7.75,
            "sofascore_appearances": 2.0,
            "fifa_rank": 43.0,
            "fifa_overall": 88.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo Cunat Campos",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Vitinha",
                  "ranking": 32
                },
                {
                  "player_name": "Fermín López",
                  "ranking": 33
                },
                {
                  "player_name": "Bianneider Tamayo",
                  "ranking": 34
                },
                {
                  "player_name": "Virgil van Dijk",
                  "ranking": 35
                },
                {
                  "player_name": "Remo Freuler",
                  "ranking": 36
                }
              ],
              "lower": [
                {
                  "player_name": "Pablo Cuñat",
                  "ranking": 38
                },
                {
                  "player_name": "Mike Maignan",
                  "ranking": 39
                },
                {
                  "player_name": "Martin Ødegaard",
                  "ranking": 40
                },
                {
                  "player_name": "Lionel Messi",
                  "ranking": 41
                },
                {
                  "player_name": "Abdumavlon Abduzhalilov",
                  "ranking": 42
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "G_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€1,600,000) scaled to 4.4 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position G (quality 0.44)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.45,
                "rating": 6.8,
                "minutes": 90,
                "total_pass": 27,
                "accurate_pass": 20,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "touches": 32,
                "clearances": 1,
                "ball_recovery": 1,
                "high_claims": 0,
                "punches": 0.3,
                "aerial_won": 1,
                "sweeper_actions": 1,
                "sweeper_accurate": 1,
                "saves_inside_box": 1,
                "possession_lost": 2.4,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16
              },
              "params": {
                "market_value_eur": 1600000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0146,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1171,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0146,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1171,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 16, fifa_overall 88.0)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0146,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1171,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.395,
                "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": 88.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 37,
                "fifa_rank": 43.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 88.0
              }
            }
          ]
        },
        "Jeremy Toljan": {
          "player_id": 149606,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 182,
          "market_value": 1900000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.4881,
            "minutes": 14,
            "total_pass": 1,
            "accurate_pass": 5,
            "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": 2,
            "possession_lost": 0.5919,
            "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,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.395,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 13,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.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": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 45,
                "rating": 6.8,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 9,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 12,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 14,
                "rating": 6.2,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3878,
            "combined_rank_score": 1867.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 856.0,
            "sofascore_rating": 6.5667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2879.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "projected_match_rating": 6.4881,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jeremy Toljan",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Matt Doherty",
                  "ranking": 3873
                },
                {
                  "player_name": "Ramon Hendriks",
                  "ranking": 3874
                },
                {
                  "player_name": "Eric Martel",
                  "ranking": 3875
                },
                {
                  "player_name": "Tiago Tomás",
                  "ranking": 3876
                },
                {
                  "player_name": "Leandro Díaz",
                  "ranking": 3877
                }
              ],
              "lower": [
                {
                  "player_name": "Kamaldeen Sulemana",
                  "ranking": 3879
                },
                {
                  "player_name": "Ansgar Knauff",
                  "ranking": 3880
                },
                {
                  "player_name": "Niccolò Pisilli",
                  "ranking": 3881
                },
                {
                  "player_name": "Elye Wahi",
                  "ranking": 3882
                },
                {
                  "player_name": "Kiko Femenía",
                  "ranking": 3883
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (4 historical appearances) to 13.6 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 1,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6122,
                "minutes": 21,
                "total_pass": 6,
                "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": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 4.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,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "touches_p90": 55.8399,
                  "accuratePass": 4.7025,
                  "possessionLostCtrl": 4.0269,
                  "totalClearance": 1.2937,
                  "totalClearance_p90": 3.8344
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.6028120517730713,
                    "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.2314
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0294
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0187
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0168
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0138
                        }
                      ],
                      "others": -0.0629,
                      "total": 0.6028
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.8600804805755615,
                    "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.0801
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0715
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0608
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0569
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0517
                        }
                      ],
                      "others": -0.1742,
                      "total": 0.8601
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.35902994871139526,
                    "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.1405
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.1102
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0699
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0401
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0339
                        }
                      ],
                      "others": -0.1139,
                      "total": 0.359
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.9370340704917908,
                    "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.8314
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1631
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0833
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0625
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0587
                        }
                      ],
                      "others": -0.2672,
                      "total": 0.937
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7023431062698364,
                    "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.3144
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.059
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0304
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0251
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0233
                        }
                      ],
                      "others": -0.0876,
                      "total": 0.7023
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.11926748603582382,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1891
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0364
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0228
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0216
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0169
                        }
                      ],
                      "others": -0.0501,
                      "total": 0.1193
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.612221717834473,
                    "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.0734
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.064
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.053
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0364
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.025
                        }
                      ],
                      "others": 0.0545,
                      "total": 6.6122
                    }
                  }
                ],
                "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,
                "total_shots": 0,
                "rating": 6.4881,
                "minutes": 21,
                "total_pass": 5,
                "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": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 3.9249,
                "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,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 1900000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4881,
                "minutes": 14,
                "total_pass": 1,
                "accurate_pass": 5,
                "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": 2,
                "possession_lost": 0.5919,
                "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,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4881,
                "minutes": 14,
                "total_pass": 1,
                "accurate_pass": 5,
                "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": 2,
                "possession_lost": 0.5919,
                "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,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 14, fifa_overall 74.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4881,
                "minutes": 14,
                "total_pass": 1,
                "accurate_pass": 5,
                "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": 2,
                "possession_lost": 0.5919,
                "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,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.395,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3878,
                "fifa_rank": 2879.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Aïssa Mandi": {
          "player_id": 122810,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 2,
          "height": 186,
          "market_value": 1100000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.5853,
            "minutes": 14,
            "total_pass": 9,
            "accurate_pass": 8,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 0.6289,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0015,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 10,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.395,
            "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_type": "played",
              "match_id": 16416329.0,
              "match_date": "2026-09-13 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 4.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Barcelona",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.0064,
                "total_shots": 0,
                "total_pass": 59,
                "accurate_pass": 53,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 4,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assists": 0,
                "expected_assists": 0.005,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 45,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 10,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assists": 0,
                "expected_assists": 0.0114,
                "total_shots": 0,
                "total_pass": 64,
                "accurate_pass": 59,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 10,
                "aerial_won": 4,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.0467,
                "expected_assists": 0.0074,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 66,
                "accurate_pass": 61,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1409,
            "combined_rank_score": 583.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 217.0,
            "sofascore_rating": 7.1667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 949.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "projected_match_rating": 6.5853,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aïssa Mandi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Troy Parrott",
                  "ranking": 1404
                },
                {
                  "player_name": "Anan Khalaili",
                  "ranking": 1405
                },
                {
                  "player_name": "Guillermo May",
                  "ranking": 1406
                },
                {
                  "player_name": "Pubill",
                  "ranking": 1407
                },
                {
                  "player_name": "Bozhidar Kraev",
                  "ranking": 1408
                }
              ],
              "lower": [
                {
                  "player_name": "Anderson Talisca",
                  "ranking": 1410
                },
                {
                  "player_name": "Berat Djimsiti",
                  "ranking": 1411
                },
                {
                  "player_name": "Samuel Souprayen",
                  "ranking": 1412
                },
                {
                  "player_name": "Zeki Çelik",
                  "ranking": 1413
                },
                {
                  "player_name": "Andrei Rațiu",
                  "ranking": 1414
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (4 historical appearances) to 13.6 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7113,
                "minutes": 90,
                "total_pass": 59,
                "accurate_pass": 54,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 44,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 73,
                "possession_lost": 4.25,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 22,
                "total_progression": 65,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "touches_p90": 71.9139,
                  "accuratePass": 53.7682,
                  "possessionLostCtrl": 4.2469,
                  "totalClearance": 6.9608,
                  "totalClearance_p90": 6.9608
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.649530827999115,
                    "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.2487
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0249
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0214
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.017
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0129
                        }
                      ],
                      "others": -0.029,
                      "total": 0.6495
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.151414155960083,
                    "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.0683
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0583
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0434
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0388
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0341
                        }
                      ],
                      "others": -0.0386,
                      "total": 1.1514
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6021143794059753,
                    "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.1527
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0648
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.044
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0431
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0273
                        }
                      ],
                      "others": -0.0197,
                      "total": 0.6021
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.031973361968994,
                    "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.8674
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.111
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1086
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1067
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0621
                        }
                      ],
                      "others": 0.1078,
                      "total": 2.032
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9306759238243103,
                    "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.3877
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0353
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0355
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0346
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0288
                        }
                      ],
                      "others": -0.0003,
                      "total": 0.9307
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.1699523627758026,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.21
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0435
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0308
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0176
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0157
                        }
                      ],
                      "others": -0.0556,
                      "total": 0.17
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.711313724517822,
                    "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.0331
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0315
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0306
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0292
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0288
                        }
                      ],
                      "others": 0.0812,
                      "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 0.9812, quality 0.437)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.5853,
                "minutes": 88,
                "total_pass": 58,
                "accurate_pass": 53,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 43,
                "accurate_own_half_passes": 41,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 71,
                "possession_lost": 4.1702,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0098,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 22,
                "total_progression": 63,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 1100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.5853,
                "minutes": 14,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 6,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 0.6289,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0015,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 10,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.5853,
                "minutes": 14,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 6,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 0.6289,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0015,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 10,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 18, fifa_overall 79.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.5853,
                "minutes": 14,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 6,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 0.6289,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0015,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 10,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.395,
                "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": 18,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1409,
                "fifa_rank": 949.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Carlos Álvarez": {
          "player_id": 1010656,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 168,
          "market_value": 15500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0092,
            "assists": 0,
            "expected_goals": 0.0076,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.9171,
            "minutes": 23,
            "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": 2,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 5,
            "possession_lost": 0.7709,
            "dispossessed": 1.0254,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 18,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 16.7,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.319,
            "bench_expected_minutes": 22.56,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.395,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0141,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 12,
                "key_pass": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3111,
            "combined_rank_score": 1073.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 568.0,
            "sofascore_rating": 6.81,
            "sofascore_appearances": 30.0,
            "fifa_rank": 1579.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "substitute",
            "projected_match_rating": 6.9171,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carlos Álvarez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Leandro Barreiro",
                  "ranking": 3106
                },
                {
                  "player_name": "Mattias Svanberg",
                  "ranking": 3107
                },
                {
                  "player_name": "Zakaria El Ouahdi",
                  "ranking": 3108
                },
                {
                  "player_name": "Haris Tabaković",
                  "ranking": 3109
                },
                {
                  "player_name": "Guus Til",
                  "ranking": 3110
                }
              ],
              "lower": [
                {
                  "player_name": "Tsuyoshi Watanabe",
                  "ranking": 3112
                },
                {
                  "player_name": "Arnau Martínez",
                  "ranking": 3113
                },
                {
                  "player_name": "Ayase Ueda",
                  "ranking": 3114
                },
                {
                  "player_name": "Mika Godts",
                  "ranking": 3115
                },
                {
                  "player_name": "Youri Baas",
                  "ranking": 3116
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.317,
          "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",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.317,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.555021941280785,
            "bench_appearance_prob": 0.319,
            "market_value_adjustment": 1.0254,
            "fbref_prior_metrics": {
              "squad": "Levante",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 1.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "Bench projection scaled from XGBoost M_service (1 historical appearances) to 22.6 expected mins (appearance prob 0.32); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.036,
                "assists": 0,
                "expected_goals": 0.0296,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7459,
                "minutes": 45,
                "total_pass": 14,
                "accurate_pass": 12,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 3.0,
                "dispossessed": 1.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 71,
                "progressive_carries": 2,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 1.0,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.0,
                  "ballRecovery_p90": 6.0,
                  "progressiveBallCarriesCount": 2.0,
                  "expectedAssists": 0.0141,
                  "ballRecovery": 3.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5531894564628601,
                    "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.2083
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0656
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.05
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0175
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0169
                        }
                      ],
                      "others": -0.0926,
                      "total": 0.5532
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.036022964864969254,
                    "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.0175
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0093
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0063
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0046
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0043
                        }
                      ],
                      "others": -0.0241,
                      "total": 0.036
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06795410811901093,
                    "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.0077
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.006
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0046
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0032
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0021
                        }
                      ],
                      "others": -0.0146,
                      "total": 0.068
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.029579175636172295,
                    "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.0331
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0155
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0101
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.008
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0076,
                      "total": 0.0296
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.22839485108852386,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0699
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0206
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0183
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0159
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0087
                        }
                      ],
                      "others": -0.0072,
                      "total": 0.2284
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.41053998470306396,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3069
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1668
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.072
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0396
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0387
                        }
                      ],
                      "others": -0.1805,
                      "total": 0.4105
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.745930194854736,
                    "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.0709
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0246
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0181
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0146
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0146
                        }
                      ],
                      "others": 0.0277,
                      "total": 6.7459
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0254, quality 0.585)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0369,
                "assists": 0,
                "expected_goals": 0.0303,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.9171,
                "minutes": 46,
                "total_pass": 14,
                "accurate_pass": 12,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 21,
                "possession_lost": 3.0761,
                "dispossessed": 1.0254,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 72,
                "progressive_carries": 2,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 15500000,
                "quality_factor": 0.5846,
                "boost_factor": 1.0254
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0180)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0369,
                "assists": 0,
                "expected_goals": 0.0303,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.9171,
                "minutes": 46,
                "total_pass": 14,
                "accurate_pass": 12,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 21,
                "possession_lost": 3.0761,
                "dispossessed": 1.0254,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 72,
                "progressive_carries": 2,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 16.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": -4.0
              },
              "params": {
                "blend_weight": 0.018,
                "history_matches": 1,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Levante"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 2.0508,
                  "after": 2.086
                },
                {
                  "stat": "fouls",
                  "before": 1.0254,
                  "after": 1.043
                },
                {
                  "stat": "totalShots",
                  "before": 0.421,
                  "after": 0.4134
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.6 expected minutes (appearance prob 0.32)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0092,
                "assists": 0,
                "expected_goals": 0.0076,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.9171,
                "minutes": 23,
                "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": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 0.7709,
                "dispossessed": 1.0254,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 18,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 16.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.319,
                "bench_expected_minutes": 22.56
              },
              "params": {
                "expected_minutes": 22.56,
                "appearance_probability": 0.319
              }
            },
            {
              "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.0076,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.9171,
                "minutes": 23,
                "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": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 0.7709,
                "dispossessed": 1.0254,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 18,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 16.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.319,
                "bench_expected_minutes": 22.56
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 2, fifa_overall 77.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0092,
                "assists": 0,
                "expected_goals": 0.0076,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.9171,
                "minutes": 23,
                "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": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 0.7709,
                "dispossessed": 1.0254,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 18,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 16.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.319,
                "bench_expected_minutes": 22.56,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.395,
                "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": 2,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3111,
                "fifa_rank": 1579.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "Jon Ander Olasagasti": {
          "player_id": 1010383,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 176,
          "market_value": 2700000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0198,
            "assists": 0,
            "expected_goals": 0.0317,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7236,
            "minutes": 22,
            "total_pass": 8,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 3,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 4.3718,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 12,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.499,
            "bench_expected_minutes": 21.97,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.395,
            "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": 84.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416329.0,
              "match_date": "2026-09-13 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 4.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Barcelona",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 86,
                "rating": 7.4,
                "assists": 0,
                "expected_goals": 0.1585,
                "expected_assists": 0.0719,
                "total_shots": 1,
                "total_pass": 29,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 10,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 1,
                "expected_goals": 0.4022,
                "expected_assists": 0.2223,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 36,
                "accurate_pass": 26,
                "key_pass": 4,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assists": 0,
                "expected_goals": 0.046,
                "expected_assists": 0.3266,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 28,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assists": 0,
                "expected_assists": 0.0046,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 12,
                "tackles": 2,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 320,
            "combined_rank_score": 210.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 217.0,
            "sofascore_rating": 7.1667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 203.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "projected_match_rating": 6.7236,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jon Ander Olasagasti",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Juan Musso",
                  "ranking": 315
                },
                {
                  "player_name": "Ju-kong Kim",
                  "ranking": 316
                },
                {
                  "player_name": "Jae-yong Bak",
                  "ranking": 317
                },
                {
                  "player_name": "Bryan Mbeumo",
                  "ranking": 318
                },
                {
                  "player_name": "Sandzhar Kuvvatov",
                  "ranking": 319
                }
              ],
              "lower": [
                {
                  "player_name": "Mario Rivas",
                  "ranking": 321
                },
                {
                  "player_name": "Nico Paz",
                  "ranking": 322
                },
                {
                  "player_name": "Unai Simón",
                  "ranking": 323
                },
                {
                  "player_name": "Aleksandre Andronikashvili",
                  "ranking": 324
                },
                {
                  "player_name": "Javier Correa",
                  "ranking": 325
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 21.97222218756125,
            "bench_appearance_prob": 0.4987373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (4 historical appearances) to 22.0 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0827,
                "assists": 0,
                "expected_goals": 0.1322,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8522,
                "minutes": 89,
                "total_pass": 32,
                "accurate_pass": 21,
                "duels_won": 5,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 12,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 18.25,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 51,
                "progressive_carries": 2,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.3007,
                  "ballRecovery_p90": 3.6729,
                  "progressiveBallCarriesCount": 1.5335,
                  "expectedAssists": 0.1568,
                  "ballRecovery": 3.6146
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.14364755153656,
                    "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.1261
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1004
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0572
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0423
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.041
                        }
                      ],
                      "others": 0.1417,
                      "total": 1.1436
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08274118602275848,
                    "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.0152
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0117
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0099
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.006
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0044
                        }
                      ],
                      "others": -0.0054,
                      "total": 0.0827
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08732964843511581,
                    "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.0053
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0051
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0051
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0051
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0046,
                      "total": 0.0873
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1321621686220169,
                    "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": "ballCarriesCount_p90",
                          "contribution": -0.0182
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0162
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0161
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0156
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0067
                        }
                      ],
                      "others": 0.0193,
                      "total": 0.1322
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.38058727979660034,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0473
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0332
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0191
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0173
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0157
                        }
                      ],
                      "others": 0.0166,
                      "total": 0.3806
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8598446846008301,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2509
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0832
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0561
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0528
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0492
                        }
                      ],
                      "others": 0.188,
                      "total": 0.8598
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.852231502532959,
                    "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.0737
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0318
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0203
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0184
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0181
                        }
                      ],
                      "others": 0.0055,
                      "total": 6.8522
                    }
                  }
                ],
                "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.0812,
                "assists": 0,
                "expected_goals": 0.1297,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7236,
                "minutes": 87,
                "total_pass": 31,
                "accurate_pass": 20,
                "duels_won": 5,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 12,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 17.9074,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 50,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0198,
                "assists": 0,
                "expected_goals": 0.0317,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7236,
                "minutes": 22,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 4.3718,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 12,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "expected_minutes": 21.97,
                "appearance_probability": 0.499
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0198,
                "assists": 0,
                "expected_goals": 0.0317,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7236,
                "minutes": 22,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 4.3718,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 12,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 12, fifa_overall 84.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0198,
                "assists": 0,
                "expected_goals": 0.0317,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7236,
                "minutes": 22,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 4.3718,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 12,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.395,
                "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": 84.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 320,
                "fifa_rank": 203.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 84.0
              }
            }
          ]
        },
        "Kareem Tunde": {
          "player_id": 1649919,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 177,
          "market_value": 2100000,
          "stats": {
            "expected_goals": 0.051,
            "goal_rate": 0.0267,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0038,
            "key_pass": 0,
            "rating": 6.4557,
            "minutes": 20,
            "total_pass": 0,
            "accurate_pass": 0,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 1,
            "possession_lost": 0.6421,
            "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,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 1,
            "ball_carries": 0,
            "total_progression": 2,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 5.6,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.719,
            "bench_expected_minutes": 19.63,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.395,
            "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": 69.0
          },
          "latest_10_games": [
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 14,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5661,
            "combined_rank_score": 3933.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 905.0,
            "sofascore_rating": 6.515,
            "sofascore_appearances": 21.0,
            "fifa_rank": 6961.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "projected_match_rating": 6.4557,
            "source_file": "data/player_rankings.csv",
            "player_name": "Kareem Tunde",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Krystof Daněk",
                  "ranking": 5656
                },
                {
                  "player_name": "Oleksandr Svatok",
                  "ranking": 5657
                },
                {
                  "player_name": "Dimitar Mitov",
                  "ranking": 5658
                },
                {
                  "player_name": "Víctor Dávila",
                  "ranking": 5659
                },
                {
                  "player_name": "Ulrik Saltnes",
                  "ranking": 5660
                }
              ],
              "lower": [
                {
                  "player_name": "Jonathan Asp Jensen",
                  "ranking": 5662
                },
                {
                  "player_name": "Wes Burns",
                  "ranking": 5663
                },
                {
                  "player_name": "Rodrigo Morínigo",
                  "ranking": 5664
                },
                {
                  "player_name": "Nicolás Lodeiro",
                  "ranking": 5665
                },
                {
                  "player_name": "Kalvin Phillips",
                  "ranking": 5666
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.314,
          "history_matches": 1,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.314,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 19.63,
            "bench_appearance_prob": 0.719,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Levante",
              "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 F_service (1 historical appearances) to 19.6 expected mins (appearance prob 0.72); FBref playing time empirical prior: 1.0 sub appearances, 15.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1329,
                "goal_rate": 0.1259,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 1,
                "expected_assists": 0.0177,
                "key_pass": 0,
                "rating": 6.5792,
                "minutes": 14,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 3.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 1,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "minutesPlayed": 14.0,
                  "totalShots": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "touches": 4.0,
                  "dribbleValueNormalized": 0.01
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.13291694223880768,
                    "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.0583
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0389
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0277
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0259
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.01
                        }
                      ],
                      "others": -0.0374,
                      "total": 0.1329
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1259131282567978,
                    "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": "opp_half_pass_pct",
                          "contribution": -0.073
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0478
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0366
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0263
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0203
                        }
                      ],
                      "others": -0.0156,
                      "total": 0.1259
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5023845434188843,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.042
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0368
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0249
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0133
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.011
                        }
                      ],
                      "others": -0.0789,
                      "total": 0.5024
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8750101923942566,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2476
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1947
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0493
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0332
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0305
                        }
                      ],
                      "others": -0.1617,
                      "total": 0.875
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.017714910209178925,
                    "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.0135
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.006
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0051
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0038
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0088,
                      "total": 0.0177
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.28724074363708496,
                    "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.2209
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0337
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0288
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0203
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0188
                        }
                      ],
                      "others": -0.0732,
                      "total": 0.2872
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.57916259765625,
                    "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": "opp_half_pass_pct",
                          "contribution": -0.0914
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0736
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0392
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0364
                        },
                        {
                          "name": "speed_threat",
                          "contribution": -0.0348
                        }
                      ],
                      "others": 0.141,
                      "total": 6.5792
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "expected_goals": 0.1304,
                "goal_rate": 0.1235,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0174,
                "key_pass": 0,
                "rating": 6.4557,
                "minutes": 14,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 2.9437,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 1,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0072)",
              "stats": {
                "expected_goals": 0.1304,
                "goal_rate": 0.1226,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0174,
                "key_pass": 0,
                "rating": 6.4557,
                "minutes": 14,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 2.9437,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 1,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": -6.0
              },
              "params": {
                "blend_weight": 0.0072,
                "history_matches": 1,
                "prior_reliability": 0.0133,
                "competition": "La Liga",
                "squad": "Levante"
              },
              "changes": [
                {
                  "stat": "totalOffside",
                  "before": 0.9812,
                  "after": 1.0102
                },
                {
                  "stat": "totalShots",
                  "before": 0.8586,
                  "after": 0.8524
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 19.6 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0284,
                "goal_rate": 0.0267,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0038,
                "key_pass": 0,
                "rating": 6.4557,
                "minutes": 20,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.6421,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 1,
                "ball_carries": 0,
                "total_progression": 2,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 19.63
              },
              "params": {
                "expected_minutes": 19.63,
                "appearance_probability": 0.719
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0284,
                "goal_rate": 0.0267,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0038,
                "key_pass": 0,
                "rating": 6.4557,
                "minutes": 20,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.6421,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 1,
                "ball_carries": 0,
                "total_progression": 2,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 19.63
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 0.9626, xG scale 1.7972)",
              "stats": {
                "expected_goals": 0.051,
                "goal_rate": 0.0267,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0038,
                "key_pass": 0,
                "rating": 6.4557,
                "minutes": 20,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.6421,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 1,
                "ball_carries": 0,
                "total_progression": 2,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 19.63,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.395,
                "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.73,
                "squad_xg_sum": 0.9626,
                "xg_scale": 1.7972,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0284,
                  "after": 0.051
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 13, fifa_overall 69.0)",
              "stats": {
                "expected_goals": 0.051,
                "goal_rate": 0.0267,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0038,
                "key_pass": 0,
                "rating": 6.4557,
                "minutes": 20,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.6421,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 1,
                "ball_carries": 0,
                "total_progression": 2,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 19.63,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.395,
                "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": 69.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5661,
                "fifa_rank": 6961.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 69.0
              }
            }
          ]
        },
        "Paco Cortés": {
          "player_id": 1869106,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 27,
          "height": 178,
          "market_value": 1400000,
          "stats": {
            "expected_goals": 0.0507,
            "goal_rate": 0.0317,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0069,
            "key_pass": 0,
            "rating": 6.6982,
            "minutes": 25,
            "total_pass": 1,
            "accurate_pass": 1,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 2,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 3,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.395,
            "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": 68.0
          },
          "latest_10_games": [
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 13,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 14,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0318,
                "expected_assists": 0.0087,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 2,
                "accurate_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 8,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 6208,
            "combined_rank_score": 4473.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 814.0,
            "sofascore_rating": 6.6091,
            "sofascore_appearances": 12.0,
            "fifa_rank": 8132.0,
            "fifa_overall": 68.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "projected_match_rating": 6.6982,
            "source_file": "data/player_rankings.csv",
            "player_name": "Paco Cortés",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Julián Fernández",
                  "ranking": 6203
                },
                {
                  "player_name": "Jano Gordon",
                  "ranking": 6204
                },
                {
                  "player_name": "Orlando Gill",
                  "ranking": 6205
                },
                {
                  "player_name": "Eugenio Mena",
                  "ranking": 6206
                },
                {
                  "player_name": "Martín Río",
                  "ranking": 6207
                }
              ],
              "lower": [
                {
                  "player_name": "Ezequiel Muñoz",
                  "ranking": 6209
                },
                {
                  "player_name": "Emanuel Gularte",
                  "ranking": 6210
                },
                {
                  "player_name": "Martín Benítez",
                  "ranking": 6211
                },
                {
                  "player_name": "Leonardo Gil",
                  "ranking": 6212
                },
                {
                  "player_name": "Juan Cruz Komar",
                  "ranking": 6213
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1022,
                "goal_rate": 0.1149,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0252,
                "key_pass": 0,
                "rating": 6.8263,
                "minutes": 24,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 9,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "minutesPlayed": 22.3178,
                  "totalShots": 0.3304,
                  "onTargetScoringAttempt": 0.3304,
                  "touches": 8.2711,
                  "dribbleValueNormalized": 0.0445
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10222545266151428,
                    "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.0572
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0434
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0196
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0144
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.0575,
                      "total": 0.1022
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11486676335334778,
                    "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.0676
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0473
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.037
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0267
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0096
                        }
                      ],
                      "others": -0.0424,
                      "total": 0.1149
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.45975205302238464,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0418
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0217
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0181
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0117
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.0696,
                      "total": 0.4598
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8324120044708252,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2046
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1568
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0449
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0414
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0332
                        }
                      ],
                      "others": -0.3005,
                      "total": 0.8324
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.025222137570381165,
                    "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.0118
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.005
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0041
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0033
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.0252
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3489242494106293,
                    "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.1857
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0402
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.037
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0314
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0273
                        }
                      ],
                      "others": -0.0928,
                      "total": 0.3489
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.826327800750732,
                    "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.0574
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0421
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0335
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0301
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0279
                        }
                      ],
                      "others": 0.1047,
                      "total": 6.8263
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "expected_goals": 0.1003,
                "goal_rate": 0.1127,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0247,
                "key_pass": 0,
                "rating": 6.6982,
                "minutes": 24,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 9,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 1400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0282,
                "goal_rate": 0.0317,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0069,
                "key_pass": 0,
                "rating": 6.6982,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0282,
                "goal_rate": 0.0317,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0069,
                "key_pass": 0,
                "rating": 6.6982,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 0.9626, xG scale 1.7972)",
              "stats": {
                "expected_goals": 0.0507,
                "goal_rate": 0.0317,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0069,
                "key_pass": 0,
                "rating": 6.6982,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.395,
                "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.73,
                "squad_xg_sum": 0.9626,
                "xg_scale": 1.7972,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0282,
                  "after": 0.0507
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 17, fifa_overall 68.0)",
              "stats": {
                "expected_goals": 0.0507,
                "goal_rate": 0.0317,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0069,
                "key_pass": 0,
                "rating": 6.6982,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.395,
                "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": 68.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 6208,
                "fifa_rank": 8132.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 68.0
              }
            }
          ]
        }
      },
      "substitutes": {
        "Kareem Tunde": {
          "player_id": 1649919,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 177,
          "market_value": 2100000,
          "stats": {
            "expected_goals": 0.051,
            "goal_rate": 0.0267,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0038,
            "key_pass": 0,
            "rating": 6.4557,
            "minutes": 20,
            "total_pass": 0,
            "accurate_pass": 0,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 1,
            "possession_lost": 0.6421,
            "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,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 1,
            "ball_carries": 0,
            "total_progression": 2,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 5.6,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.719,
            "bench_expected_minutes": 19.63,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.395,
            "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": 69.0
          },
          "latest_10_games": [
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 14,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5661,
            "combined_rank_score": 3933.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 905.0,
            "sofascore_rating": 6.515,
            "sofascore_appearances": 21.0,
            "fifa_rank": 6961.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "projected_match_rating": 6.4557,
            "source_file": "data/player_rankings.csv",
            "player_name": "Kareem Tunde",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Krystof Daněk",
                  "ranking": 5656
                },
                {
                  "player_name": "Oleksandr Svatok",
                  "ranking": 5657
                },
                {
                  "player_name": "Dimitar Mitov",
                  "ranking": 5658
                },
                {
                  "player_name": "Víctor Dávila",
                  "ranking": 5659
                },
                {
                  "player_name": "Ulrik Saltnes",
                  "ranking": 5660
                }
              ],
              "lower": [
                {
                  "player_name": "Jonathan Asp Jensen",
                  "ranking": 5662
                },
                {
                  "player_name": "Wes Burns",
                  "ranking": 5663
                },
                {
                  "player_name": "Rodrigo Morínigo",
                  "ranking": 5664
                },
                {
                  "player_name": "Nicolás Lodeiro",
                  "ranking": 5665
                },
                {
                  "player_name": "Kalvin Phillips",
                  "ranking": 5666
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.314,
          "history_matches": 1,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.314,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 19.63,
            "bench_appearance_prob": 0.719,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Levante",
              "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 F_service (1 historical appearances) to 19.6 expected mins (appearance prob 0.72); FBref playing time empirical prior: 1.0 sub appearances, 15.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1329,
                "goal_rate": 0.1259,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 1,
                "expected_assists": 0.0177,
                "key_pass": 0,
                "rating": 6.5792,
                "minutes": 14,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 3.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 1,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "minutesPlayed": 14.0,
                  "totalShots": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "touches": 4.0,
                  "dribbleValueNormalized": 0.01
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.13291694223880768,
                    "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.0583
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0389
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0277
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0259
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.01
                        }
                      ],
                      "others": -0.0374,
                      "total": 0.1329
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1259131282567978,
                    "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": "opp_half_pass_pct",
                          "contribution": -0.073
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0478
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0366
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0263
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0203
                        }
                      ],
                      "others": -0.0156,
                      "total": 0.1259
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5023845434188843,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.042
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0368
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0249
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0133
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.011
                        }
                      ],
                      "others": -0.0789,
                      "total": 0.5024
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8750101923942566,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2476
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1947
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0493
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0332
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0305
                        }
                      ],
                      "others": -0.1617,
                      "total": 0.875
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.017714910209178925,
                    "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.0135
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.006
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0051
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0038
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0088,
                      "total": 0.0177
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.28724074363708496,
                    "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.2209
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0337
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0288
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0203
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0188
                        }
                      ],
                      "others": -0.0732,
                      "total": 0.2872
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.57916259765625,
                    "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": "opp_half_pass_pct",
                          "contribution": -0.0914
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0736
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0392
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0364
                        },
                        {
                          "name": "speed_threat",
                          "contribution": -0.0348
                        }
                      ],
                      "others": 0.141,
                      "total": 6.5792
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "expected_goals": 0.1304,
                "goal_rate": 0.1235,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0174,
                "key_pass": 0,
                "rating": 6.4557,
                "minutes": 14,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 2.9437,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 1,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0072)",
              "stats": {
                "expected_goals": 0.1304,
                "goal_rate": 0.1226,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0174,
                "key_pass": 0,
                "rating": 6.4557,
                "minutes": 14,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 2.9437,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 1,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": -6.0
              },
              "params": {
                "blend_weight": 0.0072,
                "history_matches": 1,
                "prior_reliability": 0.0133,
                "competition": "La Liga",
                "squad": "Levante"
              },
              "changes": [
                {
                  "stat": "totalOffside",
                  "before": 0.9812,
                  "after": 1.0102
                },
                {
                  "stat": "totalShots",
                  "before": 0.8586,
                  "after": 0.8524
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 19.6 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0284,
                "goal_rate": 0.0267,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0038,
                "key_pass": 0,
                "rating": 6.4557,
                "minutes": 20,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.6421,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 1,
                "ball_carries": 0,
                "total_progression": 2,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 19.63
              },
              "params": {
                "expected_minutes": 19.63,
                "appearance_probability": 0.719
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0284,
                "goal_rate": 0.0267,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0038,
                "key_pass": 0,
                "rating": 6.4557,
                "minutes": 20,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.6421,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 1,
                "ball_carries": 0,
                "total_progression": 2,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 19.63
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 0.9626, xG scale 1.7972)",
              "stats": {
                "expected_goals": 0.051,
                "goal_rate": 0.0267,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0038,
                "key_pass": 0,
                "rating": 6.4557,
                "minutes": 20,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.6421,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 1,
                "ball_carries": 0,
                "total_progression": 2,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 19.63,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.395,
                "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.73,
                "squad_xg_sum": 0.9626,
                "xg_scale": 1.7972,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0284,
                  "after": 0.051
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 13, fifa_overall 69.0)",
              "stats": {
                "expected_goals": 0.051,
                "goal_rate": 0.0267,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0038,
                "key_pass": 0,
                "rating": 6.4557,
                "minutes": 20,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.6421,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 1,
                "ball_carries": 0,
                "total_progression": 2,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 5.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 19.63,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.395,
                "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": 69.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5661,
                "fifa_rank": 6961.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 69.0
              }
            }
          ]
        },
        "Paco Cortés": {
          "player_id": 1869106,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 27,
          "height": 178,
          "market_value": 1400000,
          "stats": {
            "expected_goals": 0.0507,
            "goal_rate": 0.0317,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0069,
            "key_pass": 0,
            "rating": 6.6982,
            "minutes": 25,
            "total_pass": 1,
            "accurate_pass": 1,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 2,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 3,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.395,
            "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": 68.0
          },
          "latest_10_games": [
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 13,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 14,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0318,
                "expected_assists": 0.0087,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 2,
                "accurate_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 8,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 6208,
            "combined_rank_score": 4473.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 814.0,
            "sofascore_rating": 6.6091,
            "sofascore_appearances": 12.0,
            "fifa_rank": 8132.0,
            "fifa_overall": 68.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "projected_match_rating": 6.6982,
            "source_file": "data/player_rankings.csv",
            "player_name": "Paco Cortés",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Julián Fernández",
                  "ranking": 6203
                },
                {
                  "player_name": "Jano Gordon",
                  "ranking": 6204
                },
                {
                  "player_name": "Orlando Gill",
                  "ranking": 6205
                },
                {
                  "player_name": "Eugenio Mena",
                  "ranking": 6206
                },
                {
                  "player_name": "Martín Río",
                  "ranking": 6207
                }
              ],
              "lower": [
                {
                  "player_name": "Ezequiel Muñoz",
                  "ranking": 6209
                },
                {
                  "player_name": "Emanuel Gularte",
                  "ranking": 6210
                },
                {
                  "player_name": "Martín Benítez",
                  "ranking": 6211
                },
                {
                  "player_name": "Leonardo Gil",
                  "ranking": 6212
                },
                {
                  "player_name": "Juan Cruz Komar",
                  "ranking": 6213
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1022,
                "goal_rate": 0.1149,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0252,
                "key_pass": 0,
                "rating": 6.8263,
                "minutes": 24,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 9,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "minutesPlayed": 22.3178,
                  "totalShots": 0.3304,
                  "onTargetScoringAttempt": 0.3304,
                  "touches": 8.2711,
                  "dribbleValueNormalized": 0.0445
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10222545266151428,
                    "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.0572
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0434
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0196
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0144
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.0575,
                      "total": 0.1022
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11486676335334778,
                    "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.0676
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0473
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.037
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0267
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0096
                        }
                      ],
                      "others": -0.0424,
                      "total": 0.1149
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.45975205302238464,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0418
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0217
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0181
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0117
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.0696,
                      "total": 0.4598
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8324120044708252,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2046
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1568
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0449
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0414
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0332
                        }
                      ],
                      "others": -0.3005,
                      "total": 0.8324
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.025222137570381165,
                    "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.0118
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.005
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0041
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0033
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.0252
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3489242494106293,
                    "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.1857
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0402
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.037
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0314
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0273
                        }
                      ],
                      "others": -0.0928,
                      "total": 0.3489
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.826327800750732,
                    "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.0574
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0421
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0335
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0301
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0279
                        }
                      ],
                      "others": 0.1047,
                      "total": 6.8263
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "expected_goals": 0.1003,
                "goal_rate": 0.1127,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0247,
                "key_pass": 0,
                "rating": 6.6982,
                "minutes": 24,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "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,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 9,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 1400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0282,
                "goal_rate": 0.0317,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0069,
                "key_pass": 0,
                "rating": 6.6982,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0282,
                "goal_rate": 0.0317,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0069,
                "key_pass": 0,
                "rating": 6.6982,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 0.9626, xG scale 1.7972)",
              "stats": {
                "expected_goals": 0.0507,
                "goal_rate": 0.0317,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0069,
                "key_pass": 0,
                "rating": 6.6982,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.395,
                "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.73,
                "squad_xg_sum": 0.9626,
                "xg_scale": 1.7972,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0282,
                  "after": 0.0507
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 17, fifa_overall 68.0)",
              "stats": {
                "expected_goals": 0.0507,
                "goal_rate": 0.0317,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0069,
                "key_pass": 0,
                "rating": 6.6982,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.395,
                "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": 68.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 6208,
                "fifa_rank": 8132.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 68.0
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 2,
        "expected_goals": 1.73,
        "expected_assists": 0.65,
        "total_shots": 10,
        "shots_on_target": 3,
        "total_passes": 355,
        "interceptions": 6,
        "tackles": 9,
        "avg_rating": 6.83,
        "possession_estimated_pct": 47.1,
        "pressing_actions_per_90": 6.2
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Georges Mikautadze",
        "attacker_role": "ST",
        "attacker_market_value": 32000000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.732,
        "defenders": [
          "Axel Tape",
          "Ifeanyi Ndukwe"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.473,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.264,
        "xg_contribution": 0.2243,
        "shots_in_zone": 2.4,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 3,
        "aerial_won": 1.4,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.6,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Axel Tape",
            "role": "CB",
            "market_value": 8700000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.736
          },
          {
            "player": "Ifeanyi Ndukwe",
            "role": "CB",
            "market_value": 3200000,
            "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.736
          }
        ],
        "duel_analysis": "Georges Mikautadze (ST) is heavily outmatched defensively against Axel Tape and Ifeanyi Ndukwe in a 2-defender block. Duel win probability: 26%. The quality gap is significant (€32M vs €6M avg). Projected xG contribution: 0.224 — with very limited chance creation expected."
      },
      {
        "attacker": "Tajon Buchanan",
        "attacker_role": "LM",
        "attacker_market_value": 13000000,
        "attacker_height": 183,
        "attacker_skill_quality": 0.557,
        "defenders": [
          "Adrián de la Fuente"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.451,
        "duel_zone": "Left Mid vs Right Back — Wide Channel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.528,
        "xg_contribution": 0.1165,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.4,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 2.3,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Adrián de la Fuente",
            "role": "RB",
            "market_value": 4099999,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.472
          }
        ],
        "duel_analysis": "Tajon Buchanan (LM) is slightly favored against Adrián de la Fuente in a direct 1v1 contest. Duel win probability: 53%.  Projected xG contribution: 0.116 — creating consistent moderate threat."
      },
      {
        "attacker": "Ilias Akhomach",
        "attacker_role": "RM",
        "attacker_market_value": 11100000,
        "attacker_height": 175,
        "attacker_skill_quality": 0.535,
        "defenders": [
          "Manuel Sánchez"
        ],
        "defender_roles": [
          "LB"
        ],
        "def_skill_quality_avg": 0.479,
        "duel_zone": "Right Mid vs Left Back — Wide Channel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.469,
        "xg_contribution": 0.0678,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.2,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.2,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Manuel Sánchez",
            "role": "LB",
            "market_value": 6400000,
            "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.1,
            "defensive_success_rate": 0.531
          }
        ],
        "duel_analysis": "Ilias Akhomach (RM) is evenly matched against Manuel Sánchez in a direct 1v1 contest. Duel win probability: 47%.  Projected xG contribution: 0.068 — with neither side clearly dominant."
      },
      {
        "attacker": "Carlos Romero",
        "attacker_role": "LWB",
        "attacker_market_value": 24000000,
        "attacker_height": 174,
        "attacker_skill_quality": 0.669,
        "defenders": [
          "Petar Ratkov"
        ],
        "defender_roles": [
          "RW"
        ],
        "def_skill_quality_avg": 0.503,
        "duel_zone": "Left Wingback vs Right Winger — Tracking Run Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.462,
        "xg_contribution": 0.1026,
        "shots_in_zone": 1.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.7,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Petar Ratkov",
            "role": "RW",
            "market_value": 8400000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.7,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.538
          }
        ],
        "duel_analysis": "Carlos Romero (LWB) is evenly matched against Petar Ratkov in a direct 1v1 contest. Duel win probability: 46%. The quality gap is significant (€24M vs €8M avg). Projected xG contribution: 0.103 — with neither side clearly dominant."
      },
      {
        "attacker": "Pau Navarro",
        "attacker_role": "RWB",
        "attacker_market_value": 14600000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.575,
        "defenders": [
          "Iván Romero"
        ],
        "defender_roles": [
          "LW"
        ],
        "def_skill_quality_avg": 0.491,
        "duel_zone": "Right Wingback vs Left Winger — Tracking Run Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.53,
        "xg_contribution": 0.022,
        "shots_in_zone": 1.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 2.5,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Iván Romero",
            "role": "LW",
            "market_value": 7400000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.47
          }
        ],
        "duel_analysis": "Pau Navarro (RWB) is slightly favored against Iván Romero in a direct 1v1 contest. Duel win probability: 53%.  Projected xG contribution: 0.022 — creating consistent moderate threat."
      },
      {
        "attacker": "Alberto Moleiro",
        "attacker_role": "CM",
        "attacker_market_value": 54000000,
        "attacker_height": 172,
        "attacker_skill_quality": 0.837,
        "defenders": [
          "Enzo Bardeli"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.472,
        "duel_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.584,
        "xg_contribution": 0.0951,
        "shots_in_zone": 1.9,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.5,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Enzo Bardeli",
            "role": "CM",
            "market_value": 5800000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.4,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.416
          }
        ],
        "duel_analysis": "Alberto Moleiro (CM) is slightly favored against Enzo Bardeli in a direct 1v1 contest. Duel win probability: 58%. The quality gap is significant (€54M vs €6M avg). Projected xG contribution: 0.095 — creating consistent moderate threat."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Iván Romero",
        "attacker_role": "LW",
        "attacker_market_value": 7400000,
        "attacker_height": 172,
        "attacker_skill_quality": 0.491,
        "defenders": [
          "Pau Navarro"
        ],
        "defender_roles": [
          "RWB"
        ],
        "def_skill_quality_avg": 0.575,
        "duel_zone": "Left Wing vs Right Wingback — Compact Flank",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.35,
        "xg_contribution": 0.2004,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 3,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 2.0,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pau Navarro",
            "role": "RWB",
            "market_value": 14600000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.65
          }
        ],
        "duel_analysis": "Iván Romero (LW) faces tough defensive resistance against Pau Navarro in a direct 1v1 contest. Duel win probability: 35%.  Projected xG contribution: 0.200 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Petar Ratkov",
        "attacker_role": "RW",
        "attacker_market_value": 8400000,
        "attacker_height": 187,
        "attacker_skill_quality": 0.503,
        "defenders": [
          "Carlos Romero"
        ],
        "defender_roles": [
          "LWB"
        ],
        "def_skill_quality_avg": 0.669,
        "duel_zone": "Right Wing vs Left Wingback — Compact Flank",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.418,
        "xg_contribution": 0.2495,
        "shots_in_zone": 1.8,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.1,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 2.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Carlos Romero",
            "role": "LWB",
            "market_value": 24000000,
            "tackles_attempted": 2.1,
            "tackles_won": 1.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.582
          }
        ],
        "duel_analysis": "Petar Ratkov (RW) faces tough defensive resistance against Carlos Romero in a direct 1v1 contest. Duel win probability: 42%. The quality gap is significant (€8M vs €24M avg). Projected xG contribution: 0.250 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Etta Eyong",
        "attacker_role": "ST",
        "attacker_market_value": 15600000,
        "attacker_height": 181,
        "attacker_skill_quality": 0.586,
        "defenders": [
          "Renato Veiga",
          "Santiago Mouriño"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.668,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.0805,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.6,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.6,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Renato Veiga",
            "role": "CB",
            "market_value": 29000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.2,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Santiago Mouriño",
            "role": "CB",
            "market_value": 19400000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.2,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.0,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Etta Eyong (ST) is heavily outmatched defensively against Renato Veiga and Santiago Mouriño in a 2-defender block. Duel win probability: 18%.  Projected xG contribution: 0.081 — with very limited chance creation expected."
      },
      {
        "attacker": "Enzo Bardeli",
        "attacker_role": "CM",
        "attacker_market_value": 5800000,
        "attacker_height": 172,
        "attacker_skill_quality": 0.472,
        "defenders": [
          "Alberto Moleiro"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.837,
        "duel_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.256,
        "xg_contribution": 0.0342,
        "shots_in_zone": 1.2,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Alberto Moleiro",
            "role": "CM",
            "market_value": 54000000,
            "tackles_attempted": 2.3,
            "tackles_won": 2.4,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.744
          }
        ],
        "duel_analysis": "Enzo Bardeli (CM) is heavily outmatched defensively against Alberto Moleiro in a direct 1v1 contest. Duel win probability: 26%. The quality gap is significant (€6M vs €54M avg). Projected xG contribution: 0.034 — with very limited chance creation expected."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.701,
      "away_midfield_power": 0.463,
      "home_creative_power": 0.679,
      "away_creative_power": 0.394,
      "home_defensive_power": 0.557,
      "away_defensive_power": 0.394,
      "home_dominance_ratio": 0.602,
      "home_midfield_count": 4,
      "away_midfield_count": 3,
      "home_midfield_players": [
        "Alberto Moleiro",
        "Pape Gueye",
        "Tajon Buchanan",
        "Ilias Akhomach"
      ],
      "away_midfield_players": [
        "Enzo Bardeli",
        "Hugo Sotelo",
        "Thiago Fernández"
      ],
      "possession_advantage": "home",
      "estimated_possession_home_pct": 52.9,
      "estimated_possession_away_pct": 47.1,
      "home_pressing_actions_per_90": 7.3,
      "away_pressing_actions_per_90": 6.2,
      "home_key_passes_projected": 5.6,
      "away_key_passes_projected": 3.9,
      "home_throughball_threat": 2.6,
      "away_throughball_threat": 1.8,
      "key_personal_duel": "Alberto Moleiro vs Enzo Bardeli",
      "midfield_lambda_factor_home": 1.041,
      "midfield_lambda_factor_away": 0.966
    },
    "formation_analysis": {
      "home_formation": "5-4-1",
      "away_formation": "4-3-3",
      "home_tactical_bonus": 0.02,
      "away_tactical_bonus": -0.02,
      "formation_verdict": "Tactical parity between 5-4-1 and 4-3-3. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 1.677,
    "away_lambda": 1.73,
    "home_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Left Mid vs Right Back — Wide Channel"
    ],
    "away_top_threat_zones": [
      "Right Wing vs Left Wingback — Compact Flank",
      "Left Wing vs Right Wingback — Compact Flank"
    ],
    "home_player_antagonists": {
      "Georges Mikautadze": {
        "opponents": [
          "Axel Tape",
          "Ifeanyi Ndukwe"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Tajon Buchanan": {
        "opponents": [
          "Adrián de la Fuente",
          "Hugo Sotelo"
        ],
        "primary_zone": "Left Mid vs Right Back — Wide Channel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Ilias Akhomach": {
        "opponents": [
          "Manuel Sánchez",
          "Thiago Fernández"
        ],
        "primary_zone": "Right Mid vs Left Back — Wide Channel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Carlos Romero": {
        "opponents": [
          "Petar Ratkov"
        ],
        "primary_zone": "Left Wingback vs Right Winger — Tracking Run Duel",
        "source": "attacking_duel, defensive_duel"
      },
      "Pau Navarro": {
        "opponents": [
          "Iván Romero"
        ],
        "primary_zone": "Right Wingback vs Left Winger — Tracking Run Duel",
        "source": "attacking_duel, defensive_duel"
      },
      "Alberto Moleiro": {
        "opponents": [
          "Enzo Bardeli",
          "Thiago Fernández"
        ],
        "primary_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Renato Veiga": {
        "opponents": [
          "Etta Eyong"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Santiago Mouriño": {
        "opponents": [
          "Etta Eyong"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Pape Gueye": {
        "opponents": [
          "Enzo Bardeli"
        ],
        "primary_zone": "Midfield lane",
        "source": "midfield_pairing"
      },
      "Luiz Júnior": {
        "opponents": [
          "Petar Ratkov",
          "Iván Romero"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Logan Costa": {
        "opponents": [
          "Etta Eyong"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Axel Tape": {
        "opponents": [
          "Georges Mikautadze"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Ifeanyi Ndukwe": {
        "opponents": [
          "Georges Mikautadze"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Adrián de la Fuente": {
        "opponents": [
          "Tajon Buchanan"
        ],
        "primary_zone": "Left Mid vs Right Back — Wide Channel",
        "source": "defensive_duel"
      },
      "Manuel Sánchez": {
        "opponents": [
          "Ilias Akhomach"
        ],
        "primary_zone": "Right Mid vs Left Back — Wide Channel",
        "source": "defensive_duel"
      },
      "Petar Ratkov": {
        "opponents": [
          "Carlos Romero"
        ],
        "primary_zone": "Left Wingback vs Right Winger — Tracking Run Duel",
        "source": "defensive_duel, attacking_duel"
      },
      "Iván Romero": {
        "opponents": [
          "Pau Navarro"
        ],
        "primary_zone": "Right Wingback vs Left Winger — Tracking Run Duel",
        "source": "defensive_duel, attacking_duel"
      },
      "Enzo Bardeli": {
        "opponents": [
          "Alberto Moleiro",
          "Pape Gueye"
        ],
        "primary_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Etta Eyong": {
        "opponents": [
          "Renato Veiga",
          "Santiago Mouriño"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Thiago Fernández": {
        "opponents": [
          "Alberto Moleiro",
          "Ilias Akhomach"
        ],
        "primary_zone": "Midfield lane",
        "source": "midfield_pairing"
      },
      "Hugo Sotelo": {
        "opponents": [
          "Tajon Buchanan"
        ],
        "primary_zone": "Midfield lane",
        "source": "midfield_pairing"
      },
      "Mathew Ryan": {
        "opponents": [
          "Georges Mikautadze",
          "Pape Gueye"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Home midfield dominates with ~53% possession expected (Alberto Moleiro vs Enzo Bardeli). Total antagonist xG — Home: 0.63, Away: 0.56. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Right Wing vs Left Wingback — Compact Flank.",
    "lambda_factors": {
      "home_gk_opposition_factor": 1.0173,
      "away_gk_opposition_factor": 0.9644,
      "home_set_piece_bonus": 0.1427,
      "away_set_piece_bonus": 0.107,
      "home_defensive_solidity_vs": 0.9854,
      "away_defensive_solidity_vs": 0.9206,
      "home_midfield_factor": 1.041,
      "away_midfield_factor": 0.966,
      "stage_discount": 1.0,
      "quality_gap_applied": true,
      "home_avg_quality": 0.659,
      "away_avg_quality": 0.4848,
      "avg_quality_gap": 0.1742,
      "squad_value_gap_log": 1.1927,
      "top5_value_gap_log": 1.2022,
      "attack_value_gap_log": 1.0318,
      "elite_count_gap": 1,
      "combined_quality_gap": 0.33,
      "stronger_lambda_boost": 0.1815,
      "weaker_lambda_suppression": 0.1056,
      "home_bench_lambda_bonus": 0.0492,
      "away_bench_lambda_bonus": 0.0594,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "Villarreal",
        "away_squad": "Levante UD",
        "home_goals_per90": 1.3333333333333333,
        "away_goals_against_per90": 1.67,
        "away_goals_per90": 1.6666666666666667,
        "home_goals_against_per90": 1.33,
        "home_empirical_lambda": 1.649,
        "away_empirical_lambda": 1.642,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": true,
      "mismatch_score_pressure_gap": 0.33,
      "mismatch_favorite_lambda_boost": 1.0875,
      "mismatch_underdog_lambda_factor": 0.977,
      "pre_mismatch_home_lambda": 1.542,
      "pre_mismatch_away_lambda": 1.097,
      "competitive_underdog_floor_applied": true,
      "competitive_underdog_floor": 1.0,
      "competitive_underdog_floor_mode": "smooth_softplus",
      "pre_competitive_floor_home_lambda": 1.677,
      "pre_competitive_floor_away_lambda": 1.072,
      "pre_calibration_home_lambda": 1.5419,
      "pre_calibration_away_lambda": 1.0973,
      "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.677,
      "final_away_lambda": 1.73
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 17,
    "opponent_position": 11,
    "standing_lambda_multiplier": 1.1048,
    "attack_index": 1.249,
    "defense_concede_index": 1.041,
    "form_multiplier": 0.962,
    "team_attack_rate_contextual": 1.5,
    "opp_defense_rate_contextual": 1.25,
    "team_ppg": 0.5,
    "opponent_ppg": 1.25
  },
  "away_standing": {
    "available": true,
    "team_position": 11,
    "opponent_position": 17,
    "standing_lambda_multiplier": 1.2612,
    "attack_index": 1.041,
    "defense_concede_index": 1.666,
    "form_multiplier": 1.038,
    "team_attack_rate_contextual": 1.25,
    "opp_defense_rate_contextual": 2.0,
    "team_ppg": 1.25,
    "opponent_ppg": 0.5
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Villarreal vs Levante. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 5-4-1 vs 4-3-3 (duel lambdas: Home 1.542, Away 1.097). Final calibrated Poisson lambdas: Home 1.677, Away 1.730 (most likely score 1-2).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 10,
      "home_fbref_players": 10,
      "away_starters_count": 11,
      "away_xgboost_players": 8,
      "away_fbref_players": 0,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": true,
      "home_squad": "Villarreal",
      "away_squad": "Levante UD",
      "home_goals_per90": 1.3333333333333333,
      "away_goals_against_per90": 1.67,
      "away_goals_per90": 1.6666666666666667,
      "home_goals_against_per90": 1.33,
      "home_empirical_lambda": 1.649,
      "away_empirical_lambda": 1.642,
      "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.677,
      "away_lambda": 1.73,
      "micro_duel_home_lambda": 1.542,
      "micro_duel_away_lambda": 1.097
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": true,
      "underdog_floor_applied": true
    }
  },
  "timestamp": "2026-09-20T13:31:03Z",
  "stat_limits": {
    "saves": 15.0,
    "goalsPrevented": 5.0,
    "keeperSaveValue": 3.0,
    "interceptionWon": 10.0,
    "totalTackle": 12.0,
    "wonTackle": 10.0,
    "totalClearance": 18.0,
    "aerialWon": 15.0,
    "totalPass": 150.0,
    "accuratePass": 145.0,
    "keyPass": 8.0,
    "expectedAssists": 1.5,
    "goalAssist": 4.0,
    "expectedGoals": 3.0,
    "goals": 5.0,
    "totalShots": 12.0,
    "onTargetScoringAttempt": 8.0,
    "rating": 10.0,
    "minutesPlayed": 95.0,
    "duelWon": 20.0,
    "ballRecovery": 18.0,
    "fouls": 8.0
  }
}