{
  "match_info": {
    "home_team": "Rayo Vallecano",
    "away_team": "Athletic Club",
    "tournament": "LaLiga",
    "date": "20261011",
    "timezone": "America/New_York",
    "home_formation": "4-3-3",
    "away_formation": "4-2-3-1",
    "lineup_status": "projected_from_squad",
    "lineup_source": "/teams/get-squad",
    "lineup_confirmed": false,
    "lineup_confidence": 0.45
  },
  "prediction": {
    "most_likely_score": "0-1",
    "home_goals": 0,
    "away_goals": 1,
    "most_likely_score_probability": 0.1033,
    "match_resolution": "regulation",
    "predicted_winner": "Athletic Club",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.2389,
      "shootout_home_win_probability": null,
      "shootout_away_win_probability": null,
      "penalty_home_goals": null,
      "penalty_away_goals": null,
      "penalty_score": null,
      "penalty_winner": null,
      "penalty_winner_goals": null,
      "penalty_loser_goals": null,
      "penalty_result": null,
      "home_advance_probability": null,
      "away_advance_probability": null,
      "projected_winner": null,
      "projected_winner_probability": null,
      "final_score_after_penalties": null,
      "reason": "Tie-breaker not required for this match context."
    },
    "top_5_scorelines": [
      {
        "score": "0-1",
        "probability": 0.1033
      },
      {
        "score": "1-1",
        "probability": 0.1132
      },
      {
        "score": "1-2",
        "probability": 0.0973
      },
      {
        "score": "0-2",
        "probability": 0.0899
      },
      {
        "score": "1-0",
        "probability": 0.0643
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0608,
      "0-1": 0.1033,
      "0-2": 0.0899,
      "0-3": 0.0519,
      "0-4": 0.0224,
      "0-5": 0.0078,
      "0-6": 0.0022,
      "0-7": 0.0006,
      "1-0": 0.0643,
      "1-1": 0.1132,
      "1-2": 0.0973,
      "1-3": 0.0561,
      "1-4": 0.0243,
      "1-5": 0.0084,
      "1-6": 0.0024,
      "1-7": 0.0006,
      "2-0": 0.0352,
      "2-1": 0.0608,
      "2-2": 0.0526,
      "2-3": 0.0304,
      "2-4": 0.0131,
      "2-5": 0.0045,
      "2-6": 0.0013,
      "3-0": 0.0127,
      "3-1": 0.0219,
      "3-2": 0.019,
      "3-3": 0.0109,
      "3-4": 0.0047,
      "3-5": 0.0016,
      "4-0": 0.0034,
      "4-1": 0.0059,
      "4-2": 0.0051,
      "4-3": 0.003,
      "4-4": 0.0013,
      "5-0": 0.0007,
      "5-1": 0.0013,
      "5-2": 0.0011,
      "5-3": 0.0006
    },
    "outcome": {
      "home_win": 0.2364,
      "draw": 0.2389,
      "away_win": 0.5247
    },
    "markets": {
      "over_2_5_goals": 0.5334,
      "under_2_5_goals": 0.4666,
      "btts_yes": 0.5446,
      "btts_no": 0.4554,
      "home_clean_sheet": 0.1773,
      "away_clean_sheet": 0.3389
    },
    "home_ratings": {
      "DR": 6.72,
      "MCR": 6.7,
      "ATR": 6.87,
      "GK": 6.85
    },
    "away_ratings": {
      "DR": 6.93,
      "MCR": 6.92,
      "ATR": 6.66,
      "GK": 7.59
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Rayo Vallecano vs Athletic Club. Most likely scoreline: 0-1. Lambdas derived from 6 home and 6 away individual player duels.",
      "key_player": "Projected scorer(s): Nico Williams",
      "tactical_analysis": "Tactical parity between 4-3-3 and 4-2-3-1. Match outcome driven primarily by individual player quality. Away midfield dictates play with ~53% possession expected (Isi Palazón vs Nico Williams). Total antagonist xG — Home: 0.96, Away: 1.20. Home danger zone: Right Wing vs Left Back — Flank Battle. Away danger zone: Left Wing vs Right Back — Flank Battle."
    },
    "confidence": 0.63,
    "home_lambda": 1.082,
    "away_lambda": 1.73,
    "modal_scoreline": "1-1",
    "modal_scoreline_probability": 0.1132,
    "headline_policy": "decisive_score_substitution"
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.2364,
      "draw": 0.2389,
      "away_win": 0.5247
    },
    "favorite": "Athletic Club",
    "favorite_win_probability": 0.5247,
    "fair_spread": -0.648,
    "fair_total": 2.812,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Rayo Vallecano",
        "estimate": 1.082,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Athletic Club",
        "estimate": 1.73,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.5334,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.5446,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Rayo Vallecano",
        "estimate": 1.0,
        "probability": 0.1773,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Athletic Club",
        "estimate": 1.0,
        "probability": 0.3389,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Sergio Camello (Rayo Vallecano)",
        "estimate": 0.2643,
        "probability": 0.2323,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Oihan Sancet (Athletic Club)",
        "estimate": 0.446,
        "probability": 0.3598,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Adrià Pedrosa (Rayo Vallecano)",
        "estimate": 0.2089,
        "probability": 0.1885,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Nico Williams (Athletic Club)",
        "estimate": 0.265,
        "probability": 0.2328,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "balanced",
      "expected_total_goals": 2.812,
      "expected_total_shots": 22,
      "expected_total_passes": 678,
      "expected_pressing_actions_per_90": 13.3,
      "possession_home_pct": 46.7,
      "possession_away_pct": 53.3,
      "notes": "Athletic Club projects to control midfield possession"
    },
    "expected_game_script": {
      "favorite": "Athletic Club",
      "favorite_win_probability": 0.5247,
      "script": "Athletic Club is the fair winner side, but the baseline remains narrow: fair spread -0.65 goals and fair total 2.81.",
      "first_half": "Expect balanced tempo while both sides test the matchup thesis; shot baseline is about 11 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Rayo Vallecano must keep the match inside one goal.",
      "late_game": "A Athletic Club lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Athletic Club chance creation leans on Oihan Sancet against Adrià Pedrosa in Left Wing vs Right Back — Flank Battle; Athletic Club projects to control midfield possession.",
    "expected_rotation_usage_behavior": [
      "Rayo Vallecano: starters carry the main goal usage through the highest xG attackers; bench watchlist: Fran Pérez, Randy Nteka, Raúl de Tomás.",
      "Athletic Club: starters carry the main goal usage through Nico Williams; bench watchlist: Álvaro Djaló, Maroan Sannadi, Adama Boiro.",
      "Assist usage should flow through Beñat Prados; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Athletic Club tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects balanced tempo, about 11 total first-half shots, and 1.41 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 Rayo Vallecano 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 Athletic Club.",
      "Rayo Vallecano 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": {
    "Rayo Vallecano": {
      "formation": "4-3-3",
      "players": {
        "Augusto Batalla": {
          "player_id": 358910,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 13,
          "height": 186,
          "market_value": 5800000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.2021,
            "rating": 6.8508,
            "minutes": 75,
            "total_pass": 27,
            "accurate_pass": 16,
            "duels_won": 0,
            "total_long_balls": 16,
            "accurate_long_balls": 5,
            "touches": 39,
            "clearances": 1,
            "ball_recovery": 9,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 10.4118,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 13,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "total_shots": 0,
            "shots_on_target": 0,
            "goalsAgainst": 1.21,
            "shotsOnTargetAgainst": 2.9412,
            "cleanSheets": 0.0,
            "interceptions": 1,
            "tackles_won": 0,
            "crosses_total": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "penaltySave": 0.0,
            "ownGoals": 0.0,
            "savePct": 60.0,
            "cleanSheetPct": 0.0,
            "minutesPct": 55.2,
            "pointsPerMatch": 0.5,
            "netGoalDifferencePer90": 0.0,
            "gk_engine_opponent_lambda": 1.7298,
            "shots_faced": 16.4,
            "expected_saves": 4.01,
            "high_pressure_saves": 1.38,
            "opponent_faced": "Oihan Sancet, Nico Williams",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 60,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 13,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 3,
                "saves": 1,
                "goals_prevented": 0.0088
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 20,
                "clearances": 2,
                "ball_recovery": 16,
                "saves": 2,
                "goals_prevented": -0.1982
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1585,
            "combined_rank_score": 646.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 2.0,
            "fifa_rank": 956.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8508,
            "source_file": "data/player_rankings.csv",
            "player_name": "Augusto Batalla",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Daniel Ballard",
                  "ranking": 1580
                },
                {
                  "player_name": "Sergio Herrera",
                  "ranking": 1581
                },
                {
                  "player_name": "Maximiliano Romero",
                  "ranking": 1582
                },
                {
                  "player_name": "Lucas Digne",
                  "ranking": 1583
                },
                {
                  "player_name": "Nico Elvedi",
                  "ranking": 1584
                }
              ],
              "lower": [
                {
                  "player_name": "Pavel Šulc",
                  "ranking": 1586
                },
                {
                  "player_name": "Richard Friday",
                  "ranking": 1587
                },
                {
                  "player_name": "Bertrand Traoré",
                  "ranking": 1588
                },
                {
                  "player_name": "Abdurauf Buriev",
                  "ranking": 1589
                },
                {
                  "player_name": "Nicolás Avellaneda",
                  "ranking": 1590
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.392,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "G_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "accurateLongBalls",
              "totalOwnHalfPasses",
              "accurateOwnHalfPasses",
              "saves",
              "savedShotsFromInsideTheBox",
              "goodHighClaim",
              "punches",
              "aerialWon",
              "totalKeeperSweeper",
              "accurateKeeperSweeper",
              "totalClearance",
              "ballRecovery",
              "touches",
              "possessionLostCtrl",
              "kilometersCovered",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "gk_coverage",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.392,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9916,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 149.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.1133
            },
            "rationale": "XGBoost regressor (G_service) evaluated 2 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, rel: 0.11, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2038,
                "rating": 6.8508,
                "minutes": 75,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 6,
                "touches": 39,
                "clearances": 2,
                "ball_recovery": 10,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.5,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 4,
                  "trained_at": "2026-09-29T10:01:45.250339+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 135,
                    "rows": 3738
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 1.0,
                  "save_contribution": 1.3732,
                  "goalkeeperValueNormalized": 0.0911,
                  "sweeper_actions_p90": 0.4595,
                  "possessionLostCtrl": 10.1351,
                  "accurateKeeperSweeper": 0.0,
                  "accurateLongBalls": 5.2973
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.6287190914154053,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0645
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0523
                      },
                      {
                        "name": "saves",
                        "importance": 0.0514
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0475
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0445
                      }
                    ],
                    "decomposition": {
                      "base": 2.9861,
                      "items": [
                        {
                          "name": "saves",
                          "contribution": -0.2264
                        },
                        {
                          "name": "save_contribution",
                          "contribution": -0.1492
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0511
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0324
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0189
                        }
                      ],
                      "others": -0.0842,
                      "total": 2.6287,
                      "log_link": true,
                      "margin_base": 1.093963,
                      "item_margins": [
                        {
                          "name": "saves",
                          "margin": -0.078858
                        },
                        {
                          "name": "save_contribution",
                          "margin": -0.055568
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.01937
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.012085
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.007008
                        }
                      ],
                      "others_margin": -0.031503
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.20382964611053467,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0582
                      },
                      {
                        "name": "punches",
                        "importance": 0.0515
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.051
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0478
                      },
                      {
                        "name": "touches",
                        "importance": 0.043
                      }
                    ],
                    "decomposition": {
                      "base": -0.0455,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.046
                        },
                        {
                          "name": "save_contribution",
                          "contribution": -0.0355
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0293
                        },
                        {
                          "name": "saves",
                          "contribution": -0.0234
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.0229
                        }
                      ],
                      "others": -0.0012,
                      "total": -0.2038,
                      "log_link": false,
                      "margin_base": -0.045465,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.045962
                        },
                        {
                          "name": "save_contribution",
                          "margin": -0.035461
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.029282
                        },
                        {
                          "name": "saves",
                          "margin": -0.023415
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "margin": -0.022882
                        }
                      ],
                      "others_margin": -0.001362
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.8508148193359375,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.075
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0537
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0529
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0478
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 7.0878,
                      "items": [
                        {
                          "name": "save_contribution",
                          "contribution": -0.0497
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0344
                        },
                        {
                          "name": "saves",
                          "contribution": -0.0336
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0279
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0239
                        }
                      ],
                      "others": -0.0675,
                      "total": 6.8508,
                      "log_link": false,
                      "margin_base": 7.087778,
                      "item_margins": [
                        {
                          "name": "save_contribution",
                          "margin": -0.049747
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.034382
                        },
                        {
                          "name": "saves",
                          "margin": -0.033626
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.027872
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.023944
                        }
                      ],
                      "others_margin": -0.067391
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9916, quality 0.472)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2021,
                "rating": 6.8508,
                "minutes": 75,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13
              },
              "params": {
                "market_value_eur": 5800000,
                "quality_factor": 0.472,
                "boost_factor": 0.9916
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0526)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2021,
                "rating": 6.8508,
                "minutes": 75,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.21,
                "shotsOnTargetAgainst": 2.9412,
                "cleanSheets": 0.0,
                "interceptions": 1,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 60.0,
                "cleanSheetPct": 0.0,
                "minutesPct": 55.2,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0526,
                "history_matches": 2,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.6066,
                  "after": 2.5623
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2021,
                "rating": 6.8508,
                "minutes": 75,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.21,
                "shotsOnTargetAgainst": 2.9412,
                "cleanSheets": 0.0,
                "interceptions": 1,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 60.0,
                "cleanSheetPct": 0.0,
                "minutesPct": 55.2,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2021,
                "rating": 6.8508,
                "minutes": 75,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.21,
                "shotsOnTargetAgainst": 2.9412,
                "cleanSheets": 0.0,
                "interceptions": 1,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 60.0,
                "cleanSheetPct": 0.0,
                "minutesPct": 55.2,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "gk_engine_opponent_lambda": 1.7298,
                "shots_faced": 16.4,
                "expected_saves": 4.01,
                "high_pressure_saves": 1.38,
                "opponent_faced": "Oihan Sancet, Nico Williams",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Oihan Sancet, Nico Williams",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.7298
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2021,
                "rating": 6.8508,
                "minutes": 75,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.21,
                "shotsOnTargetAgainst": 2.9412,
                "cleanSheets": 0.0,
                "interceptions": 1,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 60.0,
                "cleanSheetPct": 0.0,
                "minutesPct": 55.2,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "gk_engine_opponent_lambda": 1.7298,
                "shots_faced": 16.4,
                "expected_saves": 4.01,
                "high_pressure_saves": 1.38,
                "opponent_faced": "Oihan Sancet, Nico Williams",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2021,
                "rating": 6.8508,
                "minutes": 75,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.21,
                "shotsOnTargetAgainst": 2.9412,
                "cleanSheets": 0.0,
                "interceptions": 1,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 60.0,
                "cleanSheetPct": 0.0,
                "minutesPct": 55.2,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "gk_engine_opponent_lambda": 1.7298,
                "shots_faced": 16.4,
                "expected_saves": 4.01,
                "high_pressure_saves": 1.38,
                "opponent_faced": "Oihan Sancet, Nico Williams",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1585,
                "fifa_rank": 956.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2021,
                "rating": 6.8508,
                "minutes": 75,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.21,
                "shotsOnTargetAgainst": 2.9412,
                "cleanSheets": 0.0,
                "interceptions": 1,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 60.0,
                "cleanSheetPct": 0.0,
                "minutesPct": 55.2,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "gk_engine_opponent_lambda": 1.7298,
                "shots_faced": 16.4,
                "expected_saves": 4.01,
                "high_pressure_saves": 1.38,
                "opponent_faced": "Oihan Sancet, Nico Williams",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.0259,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2021,
                "rating": 6.8508,
                "minutes": 75,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.21,
                "shotsOnTargetAgainst": 2.9412,
                "cleanSheets": 0.0,
                "interceptions": 1,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 60.0,
                "cleanSheetPct": 0.0,
                "minutesPct": 55.2,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "gk_engine_opponent_lambda": 1.7298,
                "shots_faced": 16.4,
                "expected_saves": 4.01,
                "high_pressure_saves": 1.38,
                "opponent_faced": "Oihan Sancet, Nico Williams",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 0.7834,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0
              }
            }
          ]
        },
        "Andrei Rațiu": {
          "player_id": 965031,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 2,
          "height": 183,
          "market_value": 16700000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.6526,
            "minutes": 90,
            "total_pass": 36,
            "accurate_pass": 28,
            "duels_won": 5,
            "total_long_balls": 4,
            "accurate_long_balls": 0,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 12,
            "total_opp_half_passes": 21,
            "accurate_opp_half_passes": 16,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 70,
            "possession_lost": 19.3803,
            "dispossessed": 0.0,
            "duels_lost": 6,
            "aerial_lost": 0,
            "total_contest": 3,
            "won_contest": 0,
            "ball_recovery": 5,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 2,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0487,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 19,
            "total_progression": 122,
            "progressive_carries": 5,
            "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": 66.7,
            "pointsPerMatch": 0.5,
            "netGoalDifferencePer90": 0.0,
            "tackles_in_zone": 2.1,
            "tackles_won_in_zone": 1.7,
            "interceptions_in_zone": 1.0,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.619,
            "opponent_faced": "Peio Canales",
            "pressing_zone": "Right Wing vs Left Back — Flank Battle",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0475,
            "finishing_factor": 1.0,
            "creation_factor": 0.8,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305.0,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0633,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 30,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0887,
                "expected_assists": 0.0354,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 28,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416331.0,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0389,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 36,
                "key_pass": 1,
                "interceptions": 2,
                "clearances": 1,
                "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"
            },
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3136,
                "expected_assists": 0.0893,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 39,
                "accurate_pass": 28,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1167,
                "expected_assists": 0.0197,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 25,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0585,
                "expected_assists": 0.0021,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 26,
                "accurate_pass": 16,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1414,
            "combined_rank_score": 585.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 410.0,
            "sofascore_rating": 6.9314,
            "sofascore_appearances": 35.0,
            "fifa_rank": 761.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6526,
            "source_file": "data/player_rankings.csv",
            "player_name": "Andrei Rațiu",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Aïssa Mandi",
                  "ranking": 1409
                },
                {
                  "player_name": "Anderson Talisca",
                  "ranking": 1410
                },
                {
                  "player_name": "Berat Djimsiti",
                  "ranking": 1411
                },
                {
                  "player_name": "Samuel Souprayen",
                  "ranking": 1412
                },
                {
                  "player_name": "Zeki Çelik",
                  "ranking": 1413
                }
              ],
              "lower": [
                {
                  "player_name": "Matteo Politano",
                  "ranking": 1415
                },
                {
                  "player_name": "Seong-jun Min",
                  "ranking": 1416
                },
                {
                  "player_name": "Martin Baturina",
                  "ranking": 1417
                },
                {
                  "player_name": "Emiliano Buendía",
                  "ranking": 1418
                },
                {
                  "player_name": "Santi Cazorla",
                  "ranking": 1419
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.645,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.645,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0292,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 180.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.0,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (D_service) evaluated 6 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, rel: 0.13, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.6526,
                "minutes": 90,
                "total_pass": 35,
                "accurate_pass": 27,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 18.83,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.04,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 118,
                "progressive_carries": 4,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 5.9
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.0142,
                  "defensive_actions": 2.6518,
                  "wonTackle": 1.0134,
                  "totalTackle_p90": 1.5486,
                  "totalClearance_p90": 2.0142,
                  "aerialWon": 0.7191
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.022824764251709,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.114
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0709
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0401
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0323
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0243
                        }
                      ],
                      "others": 0.0282,
                      "total": 1.0228,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.118894
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.072253
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.041501
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.032252
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.024103
                        }
                      ],
                      "others_margin": 0.027909
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.5978741645812988,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1787
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0937
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0679
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0244
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0158
                        }
                      ],
                      "others": 0.0707,
                      "total": 1.5979,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.125974
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.060182
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.043279
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.016044
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.010398
                        }
                      ],
                      "others_margin": 0.045277
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.0671499967575073,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1657
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0234
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0212
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0127
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0109
                        }
                      ],
                      "others": 0.0544,
                      "total": 1.0671,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.182942
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.023875
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.021689
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.012775
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.010842
                        }
                      ],
                      "others_margin": 0.05223
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.3374767303466797,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.5447
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2647
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2343
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0687
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0403
                        }
                      ],
                      "others": 0.022,
                      "total": 2.3375,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.17531
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.097722
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.095267
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.029741
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.017554
                        }
                      ],
                      "others_margin": 0.009436
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.5135605335235596,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.6401
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0573
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0262
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0248
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0184
                        }
                      ],
                      "others": 0.0108,
                      "total": 0.5136,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.701483
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.095399
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.046928
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.046425
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.036009
                        }
                      ],
                      "others_margin": 0.021139
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.600311815738678,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0662
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0294
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0272
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0264
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0263
                        }
                      ],
                      "others": 0.056,
                      "total": 0.6003,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.066154
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.029374
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.02716
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.026417
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.026348
                        }
                      ],
                      "others_margin": 0.055968
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.652616500854492,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0663
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0173
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0164
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0159
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0156
                        }
                      ],
                      "others": -0.0411,
                      "total": 6.6526,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.066253
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.017347
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": 0.016406
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.01591
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.01559
                        }
                      ],
                      "others_margin": -0.041171
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0292, quality 0.597)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.6526,
                "minutes": 90,
                "total_pass": 36,
                "accurate_pass": 28,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 70,
                "possession_lost": 19.3803,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0412,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 122,
                "progressive_carries": 5,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 16700000,
                "quality_factor": 0.5974,
                "boost_factor": 1.0292
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0394)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.6526,
                "minutes": 90,
                "total_pass": 36,
                "accurate_pass": 28,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 70,
                "possession_lost": 19.3803,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0412,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 122,
                "progressive_carries": 5,
                "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": 66.7,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": -0.5
              },
              "params": {
                "blend_weight": 0.0394,
                "history_matches": 6,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.1378
                },
                {
                  "stat": "wasFouled",
                  "before": 1.7188,
                  "after": 1.6905
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.0527,
                  "after": 1.0309
                },
                {
                  "stat": "totalShots",
                  "before": 0.6179,
                  "after": 0.6329
                }
              ]
            },
            {
              "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": 6.6526,
                "minutes": 90,
                "total_pass": 36,
                "accurate_pass": 28,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 70,
                "possession_lost": 19.3803,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0412,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 122,
                "progressive_carries": 5,
                "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": 66.7,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.6526,
                "minutes": 90,
                "total_pass": 36,
                "accurate_pass": 28,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 70,
                "possession_lost": 19.3803,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0412,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 122,
                "progressive_carries": 5,
                "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": 66.7,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.619,
                "opponent_faced": "Peio Canales",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Peio Canales",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.6526,
                "minutes": 90,
                "total_pass": 36,
                "accurate_pass": 28,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 70,
                "possession_lost": 19.3803,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0487,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 122,
                "progressive_carries": 5,
                "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": 66.7,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.619,
                "opponent_faced": "Peio Canales",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0412,
                  "after": 0.0487
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.6526,
                "minutes": 90,
                "total_pass": 36,
                "accurate_pass": 28,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 70,
                "possession_lost": 19.3803,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0487,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 122,
                "progressive_carries": 5,
                "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": 66.7,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.619,
                "opponent_faced": "Peio Canales",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1414,
                "fifa_rank": 761.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.6526,
                "minutes": 90,
                "total_pass": 36,
                "accurate_pass": 28,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 70,
                "possession_lost": 19.3803,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0487,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 122,
                "progressive_carries": 5,
                "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": 66.7,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.619,
                "opponent_faced": "Peio Canales",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.0259,
                "weight_share": 0.001,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.6526,
                "minutes": 90,
                "total_pass": 36,
                "accurate_pass": 28,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 70,
                "possession_lost": 19.3803,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 3,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0487,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 122,
                "progressive_carries": 5,
                "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": 66.7,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.619,
                "opponent_faced": "Peio Canales",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0475,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0475,
                "provider_weight": 0.039,
                "squad_weight_total": 0.7834,
                "weight_share": 0.0497,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13
              }
            }
          ]
        },
        "Mujaid Sadick": {
          "player_id": 935309,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 3,
          "height": 185,
          "market_value": 4700000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7022,
            "minutes": 55,
            "total_pass": 37,
            "accurate_pass": 35,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 29,
            "accurate_own_half_passes": 29,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 44,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 11,
            "total_progression": 29,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.802,
            "opponent_faced": "Gorka Guruzeta",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305.0,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0051,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 43,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 61,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 55,
                "accurate_pass": 52,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416331.0,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 10,
                "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": 256,
            "combined_rank_score": 196.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 202.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7022,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mujaid Sadick",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "David Raum",
                  "ranking": 251
                },
                {
                  "player_name": "Bryan Carvallo",
                  "ranking": 252
                },
                {
                  "player_name": "Alexis Mac Allister",
                  "ranking": 253
                },
                {
                  "player_name": "Maximilian Mittelstädt",
                  "ranking": 254
                },
                {
                  "player_name": "Seong-Jin Kang",
                  "ranking": 255
                }
              ],
              "lower": [
                {
                  "player_name": "Tijjani Reijnders",
                  "ranking": 257
                },
                {
                  "player_name": "Nicolás Vargas",
                  "ranking": 258
                },
                {
                  "player_name": "James Nicholas Delianov",
                  "ranking": 259
                },
                {
                  "player_name": "Scott McTominay",
                  "ranking": 260
                },
                {
                  "player_name": "Yann Sommer",
                  "ranking": 261
                }
              ]
            }
          },
          "data_sources": [
            "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"
            ],
            "market_value_adjustment": 0.9875,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 3 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": 0,
                "rating": 6.7022,
                "minutes": 55,
                "total_pass": 38,
                "accurate_pass": 35,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 29,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 29,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 15.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.9349,
                  "defensive_actions": 0.7191,
                  "wonTackle": 0.0,
                  "totalTackle_p90": 0.0,
                  "totalClearance_p90": 5.9675,
                  "aerialWon": 1.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9113245010375977,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1187
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0363
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0363
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0259
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0191
                        }
                      ],
                      "others": 0.009,
                      "total": 0.9113,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.140924
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.045227
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.043269
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.029762
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.021353
                        }
                      ],
                      "others_margin": 0.010087
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.8466742038726807,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.3188
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.1182
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0292
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0248
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0164
                        }
                      ],
                      "others": -0.0268,
                      "total": 0.8467,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.273749
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.124083
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.033251
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.028216
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.018613
                        }
                      ],
                      "others_margin": -0.031124
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6096915602684021,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.1679
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0292
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0264
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0161
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0148
                        }
                      ],
                      "others": -0.0143,
                      "total": 0.6097,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.227288
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.045358
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.041084
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.024943
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.02336
                        }
                      ],
                      "others_margin": -0.023324
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.328087329864502,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.4044
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.2387
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2229
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.11
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0551
                        }
                      ],
                      "others": 0.1294,
                      "total": 4.3281,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.112763
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.061054
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.053826
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.026212
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.013213
                        }
                      ],
                      "others_margin": 0.030359
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.1554425954818726,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.1933
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0578
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0539
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0289
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0277
                        }
                      ],
                      "others": 0.0818,
                      "total": 1.1554,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.165212
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.055154
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.051598
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.026564
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.02545
                        }
                      ],
                      "others_margin": 0.073418
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3429,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0468
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.027
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0269
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0122
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.064,
                      "total": 0.3429,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.046808
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.02698
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.026879
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.012241
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.010209
                        }
                      ],
                      "others_margin": -0.064021
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.70216178894043,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0312
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0291
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.027
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0259
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0247
                        }
                      ],
                      "others": -0.0211,
                      "total": 6.7022,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.03118
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.029053
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.027043
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.025854
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.024685
                        }
                      ],
                      "others_margin": -0.021268
                    }
                  }
                ],
                "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": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7022,
                "minutes": 55,
                "total_pass": 37,
                "accurate_pass": 35,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 29,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 29,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "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": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7022,
                "minutes": 55,
                "total_pass": 37,
                "accurate_pass": 35,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 29,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 29,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7022,
                "minutes": 55,
                "total_pass": 37,
                "accurate_pass": 35,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 29,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 29,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Gorka Guruzeta",
                "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": "Gorka Guruzeta",
                  "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.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7022,
                "minutes": 55,
                "total_pass": 37,
                "accurate_pass": 35,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 29,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 29,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Gorka Guruzeta",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 84.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7022,
                "minutes": 55,
                "total_pass": 37,
                "accurate_pass": 35,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 29,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 29,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Gorka Guruzeta",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 256,
                "fifa_rank": 202.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7022,
                "minutes": 55,
                "total_pass": 37,
                "accurate_pass": 35,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 29,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 29,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Gorka Guruzeta",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.0259,
                "weight_share": 0.001,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7022,
                "minutes": 55,
                "total_pass": 37,
                "accurate_pass": 35,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 29,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 29,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Gorka Guruzeta",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.001,
                "squad_weight_total": 0.7834,
                "weight_share": 0.0013,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13
              }
            }
          ]
        },
        "Marash Kumbulla": {
          "player_id": 893642,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 3,
          "height": 191,
          "market_value": 2800000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 2,
            "duels_won": 5,
            "total_pass": 42,
            "accurate_pass": 33,
            "expected_goals": 0.016,
            "rating": 6.8,
            "minutes": 90,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 27,
            "accurate_own_half_passes": 21,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 6,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 58,
            "possession_lost": 6.2,
            "dispossessed": 0.4,
            "duels_lost": 3,
            "aerial_lost": 2,
            "total_contest": 4,
            "won_contest": 2,
            "ball_recovery": 5,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.04,
            "assists": 0,
            "expected_assists": 0.0532,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.012,
            "key_pass": 0,
            "ball_carries": 19,
            "total_progression": 56,
            "progressive_carries": 4,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.802,
            "opponent_faced": "Gorka Guruzeta",
            "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.0159,
            "projected_assists": 0,
            "assist_probability": 0.0518,
            "finishing_factor": 0.8,
            "creation_factor": 0.9474,
            "fifa_overall": 75.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3597,
            "combined_rank_score": 1565.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 795.0,
            "sofascore_rating": 6.625,
            "sofascore_appearances": 8.0,
            "fifa_rank": 2336.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marash Kumbulla",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Luiz Felipe",
                  "ranking": 3592
                },
                {
                  "player_name": "Catena",
                  "ranking": 3593
                },
                {
                  "player_name": "Arijanet Murić",
                  "ranking": 3594
                },
                {
                  "player_name": "Puado",
                  "ranking": 3595
                },
                {
                  "player_name": "Carlos Alcaraz",
                  "ranking": 3596
                }
              ],
              "lower": [
                {
                  "player_name": "Fidalgo",
                  "ranking": 3598
                },
                {
                  "player_name": "Evan Ferguson",
                  "ranking": 3599
                },
                {
                  "player_name": "Moncayola",
                  "ranking": 3600
                },
                {
                  "player_name": "Pathé Ciss",
                  "ranking": 3601
                },
                {
                  "player_name": "Jon Mikel Aramburu",
                  "ranking": 3602
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "D_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€2,800,000) applied for position D (quality factor 0.44)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.44)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4
              },
              "params": {
                "market_value_eur": 2800000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Gorka Guruzeta",
                "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": "Gorka Guruzeta",
                  "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.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.0532,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Gorka Guruzeta",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9474
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.045,
                  "after": 0.0532
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.0532,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Gorka Guruzeta",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9474,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3597,
                "fifa_rank": 2336.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.0532,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Gorka Guruzeta",
                "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.0159,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9474,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0159,
                "scorer_weight": 0.0128,
                "squad_weight_total": 1.0259,
                "weight_share": 0.0125,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.0532,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Gorka Guruzeta",
                "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.0159,
                "projected_assists": 0,
                "assist_probability": 0.0518,
                "finishing_factor": 0.8,
                "creation_factor": 0.9474,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0518,
                "provider_weight": 0.0504,
                "squad_weight_total": 0.7834,
                "weight_share": 0.0643,
                "creation_factor": 0.9474,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13
              }
            }
          ]
        },
        "Adrià Pedrosa": {
          "player_id": 928672,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 17,
          "height": 176,
          "market_value": 2700000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.7133,
            "minutes": 80,
            "total_pass": 26,
            "accurate_pass": 22,
            "duels_won": 5,
            "total_long_balls": 4,
            "accurate_long_balls": 0,
            "total_own_half_passes": 13,
            "accurate_own_half_passes": 12,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 10,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 49,
            "possession_lost": 10.5973,
            "dispossessed": 0.0,
            "duels_lost": 4,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.1932,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.2089,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 13,
            "total_progression": 50,
            "progressive_carries": 2,
            "key_pass": 0,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 1.4286,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 21.9,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.4,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.373,
            "opponent_faced": "Oihan Sancet",
            "pressing_zone": "Left Wing vs Right Back — Flank Battle",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.1885,
            "finishing_factor": 1.0,
            "creation_factor": 1.0733,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305.0,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.1875,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 32,
                "key_pass": 2,
                "tackles": 6,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 11,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0847,
                "expected_assists": 0.0158,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 23,
                "tackles": 1,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416331.0,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 85,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.5769,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 25,
                "key_pass": 4,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 75,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0601,
                "expected_assists": 0.0309,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 14,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 58,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1055,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 16,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3912,
            "combined_rank_score": 1894.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 896.0,
            "sofascore_rating": 6.5269,
            "sofascore_appearances": 27.0,
            "fifa_rank": 2892.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7133,
            "source_file": "data/player_rankings.csv",
            "player_name": "Adrià Pedrosa",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Pietro Terracciano",
                  "ranking": 3907
                },
                {
                  "player_name": "Hugo Rodallega",
                  "ranking": 3908
                },
                {
                  "player_name": "Marc-Oliver Kempf",
                  "ranking": 3909
                },
                {
                  "player_name": "Lorenzo Amatucci",
                  "ranking": 3910
                },
                {
                  "player_name": "Juan Iturbe",
                  "ranking": 3911
                }
              ],
              "lower": [
                {
                  "player_name": "Pedraza",
                  "ranking": 3913
                },
                {
                  "player_name": "Erick Sánchez",
                  "ranking": 3914
                },
                {
                  "player_name": "Keinan Davis",
                  "ranking": 3915
                },
                {
                  "player_name": "Jens Odgaard",
                  "ranking": 3916
                },
                {
                  "player_name": "Nicolò Zaniolo",
                  "ranking": 3917
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.57,
          "history_matches": 5,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 5,
            "data_confidence": 0.57,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "minutes": 59.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0467
            },
            "rationale": "XGBoost regressor (D_service) evaluated 5 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, rel: 0.05, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7133,
                "minutes": 80,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 10.8,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.2,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.18,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 51,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 58.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.3153,
                  "defensive_actions": 3.0734,
                  "wonTackle": 1.0404,
                  "totalTackle_p90": 2.8951,
                  "totalClearance_p90": 2.3599,
                  "aerialWon": 0.728
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.662798285484314,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1308
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.1018
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0204
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0196
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0122
                        }
                      ],
                      "others": -0.021,
                      "total": 0.6628,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.15647
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.141249
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.029946
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.028696
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.018012
                        }
                      ],
                      "others_margin": -0.031196
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.8306248188018799,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1613
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1434
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0805
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0296
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0225
                        }
                      ],
                      "others": 0.1212,
                      "total": 1.8306,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.114395
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.091756
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.048006
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.017397
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.013265
                        }
                      ],
                      "others_margin": 0.068467
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.9485976696014404,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "defensive_actions",
                          "contribution": 0.061
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0444
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0391
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.025
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0137
                        }
                      ],
                      "others": 0.056,
                      "total": 0.9486,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "defensive_actions",
                          "margin": 0.071269
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.051419
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.045327
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.028002
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.01522
                        }
                      ],
                      "others_margin": 0.060882
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.442204475402832,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.5815
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2337
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1461
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0524
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0485
                        }
                      ],
                      "others": 0.012,
                      "total": 2.4422,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.188334
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.086973
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.058491
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.021387
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.019776
                        }
                      ],
                      "others_margin": 0.004966
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.5173844695091248,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.619
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0801
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0312
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.022
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0192
                        }
                      ],
                      "others": -0.0247,
                      "total": 0.5174,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.668572
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.131359
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.056299
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.040005
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.034717
                        }
                      ],
                      "others_margin": -0.046746
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5543,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "duelLost",
                          "contribution": 0.0246
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0239
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0209
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0186
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0182
                        }
                      ],
                      "others": 0.0085,
                      "total": 0.5543,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "duelLost",
                          "margin": 0.02457
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.023908
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.020926
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.018634
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.018177
                        }
                      ],
                      "others_margin": 0.008353
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.713332176208496,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0593
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.054
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0134
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0102
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0101
                        }
                      ],
                      "others": -0.0363,
                      "total": 6.7133,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.059301
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.054038
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.013384
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.010215
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.010055
                        }
                      ],
                      "others_margin": -0.036175
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7133,
                "minutes": 80,
                "total_pass": 26,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 10.5973,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1962,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1766,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 50,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0152)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7133,
                "minutes": 80,
                "total_pass": 26,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 10.5973,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1932,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1766,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 50,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 21.9,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": -3.05
              },
              "params": {
                "blend_weight": 0.0152,
                "history_matches": 5,
                "prior_reliability": 0.0467,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0217
                },
                {
                  "stat": "fouls",
                  "before": 1.7662,
                  "after": 1.7828
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.6504,
                  "after": 0.6405
                },
                {
                  "stat": "totalShots",
                  "before": 0.5439,
                  "after": 0.5356
                },
                {
                  "stat": "wonTackle",
                  "before": 0.9308,
                  "after": 0.9384
                }
              ]
            },
            {
              "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": 6.7133,
                "minutes": 80,
                "total_pass": 26,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 10.5973,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1932,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1766,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 50,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 21.9,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7133,
                "minutes": 80,
                "total_pass": 26,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 10.5973,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1932,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1766,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 50,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 21.9,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.373,
                "opponent_faced": "Oihan Sancet",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Oihan Sancet",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7133,
                "minutes": 80,
                "total_pass": 26,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 10.5973,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1932,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.2089,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 50,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 21.9,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.373,
                "opponent_faced": "Oihan Sancet",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0733
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1766,
                  "after": 0.2089
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7133,
                "minutes": 80,
                "total_pass": 26,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 10.5973,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1932,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.2089,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 50,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 21.9,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.373,
                "opponent_faced": "Oihan Sancet",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0733,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3912,
                "fifa_rank": 2892.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7133,
                "minutes": 80,
                "total_pass": 26,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 10.5973,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1932,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.2089,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 50,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 21.9,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.373,
                "opponent_faced": "Oihan Sancet",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0733,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.0259,
                "weight_share": 0.001,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7133,
                "minutes": 80,
                "total_pass": 26,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 10.5973,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1932,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.2089,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 50,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 21.9,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.373,
                "opponent_faced": "Oihan Sancet",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.1885,
                "finishing_factor": 1.0,
                "creation_factor": 1.0733,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.1885,
                "provider_weight": 0.2242,
                "squad_weight_total": 0.7834,
                "weight_share": 0.2862,
                "creation_factor": 1.0733,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13
              }
            }
          ]
        },
        "Isi Palazón": {
          "player_id": 899982,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 7,
          "height": 169,
          "market_value": 3000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0375,
            "assist_rate": 0.0525,
            "assists": 0,
            "expected_goals": 0.0706,
            "goal_rate": 0.048,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6936,
            "minutes": 40,
            "total_pass": 10,
            "accurate_pass": 7,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 19,
            "possession_lost": 6.8686,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 1,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.7433,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.4,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.245,
            "pressing_faced": "HIGH",
            "matchup_zone": "CDM vs CDM",
            "numerical_situation": "1v1",
            "opponent_defenders": "Mikel Jauregizar",
            "opponent_faced": "Mikel Jauregizar",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0682,
            "projected_assists": 0,
            "assist_probability": 0.0368,
            "finishing_factor": 0.814,
            "creation_factor": 1.25,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 17,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0435,
                "expected_assists": 0.004,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 4,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 64,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0079,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 11,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1652,
            "combined_rank_score": 826.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 671.0,
            "sofascore_rating": 6.7258,
            "sofascore_appearances": 31.0,
            "fifa_rank": 981.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6936,
            "source_file": "data/player_rankings.csv",
            "player_name": "Isi Palazón",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Josh Risdon",
                  "ranking": 1647
                },
                {
                  "player_name": "Georges Mikautadze",
                  "ranking": 1648
                },
                {
                  "player_name": "Trai Hume",
                  "ranking": 1649
                },
                {
                  "player_name": "Alfonso Pedraza",
                  "ranking": 1650
                },
                {
                  "player_name": "Lukáš Provod",
                  "ranking": 1651
                }
              ],
              "lower": [
                {
                  "player_name": "Walter Benítez",
                  "ranking": 1653
                },
                {
                  "player_name": "Khumoyun Sherbutaev",
                  "ranking": 1654
                },
                {
                  "player_name": "Kuvonchbek Khushvaktov",
                  "ranking": 1655
                },
                {
                  "player_name": "Florian Grillitsch",
                  "ranking": 1656
                },
                {
                  "player_name": "Zakaria Labyad",
                  "ranking": 1657
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 2 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0323,
                "assist_rate": 0.0535,
                "assists": 0,
                "expected_goals": 0.0965,
                "goal_rate": 0.0658,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6936,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 8,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 7.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 2,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 2,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 17.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.5405,
                  "expectedAssists": 0.0058,
                  "creative_index": 0.0035,
                  "creative_efficiency": 0.0,
                  "shotValueNormalized": -0.1297,
                  "dribbleValueNormalized": -0.033
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5342320203781128,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.1697
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.1043
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0389
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0344
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.034
                        }
                      ],
                      "others": -0.08,
                      "total": 0.5342,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.202264
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.148296
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.061501
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.054548
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.053872
                        }
                      ],
                      "others_margin": -0.139392
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03226710483431816,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0401
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0042
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0031
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0029
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0076,
                      "total": 0.0323,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.615762
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.093695
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.075943
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.069443
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.068493
                        }
                      ],
                      "others_margin": -0.210066
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05354180186986923,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0123
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.01
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0034
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0027
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0011
                        }
                      ],
                      "others": -0.0021,
                      "total": 0.0535,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.156388
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.14776
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.056298
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.046197
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.019895
                        }
                      ],
                      "others_margin": -0.037313
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09654927253723145,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0421
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0129
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0069
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0059
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0047
                        }
                      ],
                      "others": -0.0136,
                      "total": 0.0965,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.262189
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.096424
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.055801
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.050471
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.042005
                        }
                      ],
                      "others_margin": -0.130504
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06580889970064163,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0306
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0223
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0094
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0074
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0094,
                      "total": 0.0658,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.232056
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.210865
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.104348
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.090724
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.039092
                        }
                      ],
                      "others_margin": -0.132748
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.18261244893074036,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1278
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0152
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0066
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0059
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0038
                        }
                      ],
                      "others": 0.0045,
                      "total": 0.1826,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.475947
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.075378
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.034279
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.031644
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.020948
                        }
                      ],
                      "others_margin": 0.024202
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7750609517097473,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2738
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0729
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.037
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0359
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0238
                        }
                      ],
                      "others": -0.0372,
                      "total": 0.7751,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.273795
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.072863
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.036976
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.035875
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.023849
                        }
                      ],
                      "others_margin": -0.037126
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.693596839904785,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0572
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0334
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0277
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0265
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0141
                        }
                      ],
                      "others": -0.0603,
                      "total": 6.6936,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.057152
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.033399
                        },
                        {
                          "name": "touches",
                          "margin": -0.027692
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.026486
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.01408
                        }
                      ],
                      "others_margin": -0.060321
                    }
                  }
                ],
                "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.0317,
                "assist_rate": 0.0525,
                "assists": 0,
                "expected_goals": 0.0947,
                "goal_rate": 0.0646,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6936,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 1,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 3000000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0317,
                "assist_rate": 0.0525,
                "assists": 0,
                "expected_goals": 0.0947,
                "goal_rate": 0.0646,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6936,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 1,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0317,
                "assist_rate": 0.0525,
                "assists": 0,
                "expected_goals": 0.0704,
                "goal_rate": 0.048,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6936,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 1,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.7433,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.245,
                "pressing_faced": "HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mikel Jauregizar",
                "opponent_faced": "Mikel Jauregizar",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Mikel Jauregizar",
                  "matchup_zone": "CDM vs CDM",
                  "duel_win_rate": 0.245,
                  "pressing_faced": "HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.7433,
                  "skill_edge": -0.1426,
                  "height_edge": -0.032,
                  "attacker_skill": 0.444,
                  "defender_skill": 0.761,
                  "xg_override": 0.0704
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.8
                },
                {
                  "stat": "totalShots",
                  "before": 0.7605,
                  "after": 0.5653
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.5813,
                  "after": 0.4321
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1792,
                  "after": 0.1332
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0947,
                  "after": 0.0704
                },
                {
                  "stat": "goals",
                  "before": 0.0646,
                  "after": 0.048
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0375,
                "assist_rate": 0.0525,
                "assists": 0,
                "expected_goals": 0.0706,
                "goal_rate": 0.048,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6936,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 1,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.7433,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.245,
                "pressing_faced": "HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mikel Jauregizar",
                "opponent_faced": "Mikel Jauregizar",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.814,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0317,
                  "after": 0.0375
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0375,
                "assist_rate": 0.0525,
                "assists": 0,
                "expected_goals": 0.0706,
                "goal_rate": 0.048,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6936,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 1,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.7433,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.245,
                "pressing_faced": "HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mikel Jauregizar",
                "opponent_faced": "Mikel Jauregizar",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.814,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1652,
                "fifa_rank": 981.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0375,
                "assist_rate": 0.0525,
                "assists": 0,
                "expected_goals": 0.0706,
                "goal_rate": 0.048,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6936,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 1,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.7433,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.245,
                "pressing_faced": "HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mikel Jauregizar",
                "opponent_faced": "Mikel Jauregizar",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0682,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.814,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0682,
                "scorer_weight": 0.0575,
                "squad_weight_total": 1.0259,
                "weight_share": 0.056,
                "finishing_factor": 0.814,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0375,
                "assist_rate": 0.0525,
                "assists": 0,
                "expected_goals": 0.0706,
                "goal_rate": 0.048,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6936,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 1,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.7433,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.245,
                "pressing_faced": "HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mikel Jauregizar",
                "opponent_faced": "Mikel Jauregizar",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0682,
                "projected_assists": 0,
                "assist_probability": 0.0368,
                "finishing_factor": 0.814,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0368,
                "provider_weight": 0.0469,
                "squad_weight_total": 0.7834,
                "weight_share": 0.0598,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13
              }
            }
          ]
        },
        "Pedro Díaz": {
          "player_id": 900669,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 4,
          "height": 180,
          "market_value": 2900000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0634,
            "assist_rate": 0.0751,
            "assists": 0,
            "expected_goals": 0.1145,
            "goal_rate": 0.0851,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6845,
            "minutes": 54,
            "total_pass": 18,
            "accurate_pass": 16,
            "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": 13,
            "accurate_opp_half_passes": 11,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 27,
            "possession_lost": 3.7581,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 17.4,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "duel_xg_multiplier": 0.8054,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.318,
            "pressing_faced": "HIGH",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Mikel Jauregizar",
            "opponent_faced": "Mikel Jauregizar",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1082,
            "projected_assists": 0,
            "assist_probability": 0.0614,
            "finishing_factor": 0.8228,
            "creation_factor": 1.2075,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305.0,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 30,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.031,
                "expected_assists": 0.0085,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 11,
                "accurate_pass": 7,
                "key_pass": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2708,
                "expected_assists": 0.0172,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 32,
                "accurate_pass": 26,
                "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"
            },
            {
              "match_id": 16416331.0,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 67,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1621,
                "expected_assists": 0.0149,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 19,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0628,
                "expected_assists": 0.0492,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 34,
                "accurate_pass": 33,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 33,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0422,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 3,
                "tackles": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 12,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0935,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 9,
                "key_pass": 2,
                "interceptions": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3649,
            "combined_rank_score": 1611.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2400.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6845,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pedro Díaz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "João Moutinho",
                  "ranking": 3644
                },
                {
                  "player_name": "Tom Cairney",
                  "ranking": 3645
                },
                {
                  "player_name": "Mads Hermansen",
                  "ranking": 3646
                },
                {
                  "player_name": "Pepê",
                  "ranking": 3647
                },
                {
                  "player_name": "Finn Azaz",
                  "ranking": 3648
                }
              ],
              "lower": [
                {
                  "player_name": "Junior Firpo",
                  "ranking": 3650
                },
                {
                  "player_name": "Bashir Humphreys",
                  "ranking": 3651
                },
                {
                  "player_name": "Altimira",
                  "ranking": 3652
                },
                {
                  "player_name": "Miguel Almirón",
                  "ranking": 3653
                },
                {
                  "player_name": "Marko Livaja",
                  "ranking": 3654
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.63,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.63,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "minutes": 47.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "XGBoost regressor (M_service) evaluated 6 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, rel: 0.03, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0547,
                "assist_rate": 0.0773,
                "assists": 0,
                "expected_goals": 0.1445,
                "goal_rate": 0.1088,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.6845,
                "minutes": 54,
                "total_pass": 18,
                "accurate_pass": 16,
                "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": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.83,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 30.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.1257,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalShots": 2.2616,
                  "expectedAssists": 0.0307,
                  "creative_index": 0.6541,
                  "creative_efficiency": 0.0119,
                  "shotValueNormalized": -0.1991,
                  "dribbleValueNormalized": 0.1539
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.0068047046661377,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1304
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0731
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0588
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0395
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0259
                        }
                      ],
                      "others": -0.0496,
                      "total": 1.0068,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.131649
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.07171
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.058043
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.037138
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.024181
                        }
                      ],
                      "others_margin": -0.048009
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05466024577617645,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0225
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.004
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0031
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0028
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0027
                        }
                      ],
                      "others": -0.0108,
                      "total": 0.0547,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.298485
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.060636
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.046198
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.042922
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.042189
                        }
                      ],
                      "others_margin": -0.182646
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.0772675946354866,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0097
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0051
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0054
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0041
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0012,
                      "total": 0.0773,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.121166
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.065189
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.065176
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.049259
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.040869
                        }
                      ],
                      "others_margin": -0.01611
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1445073038339615,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0187
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0145
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0113
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0106
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0058
                        }
                      ],
                      "others": -0.0146,
                      "total": 0.1445,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.097428
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.074707
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.062382
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.062035
                        },
                        {
                          "name": "kilometersCovered",
                          "margin": -0.035992
                        }
                      ],
                      "others_margin": -0.096427
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.10876660794019699,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0547
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.034
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0195
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0099
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0067
                        }
                      ],
                      "others": -0.0237,
                      "total": 0.1088,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.314733
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.183402
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.122747
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.068681
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.049022
                        }
                      ],
                      "others_margin": -0.198265
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.48670142889022827,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1951
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0268
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0174
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0168
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0135
                        }
                      ],
                      "others": -0.0049,
                      "total": 0.4867,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.456351
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.051668
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.034974
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.033897
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.027129
                        }
                      ],
                      "others_margin": -0.010185
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.5943014288902282,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.4462
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0587
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0351
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0348
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0321
                        }
                      ],
                      "others": 0.0195,
                      "total": 1.5943,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.44618
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.058684
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.035084
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.034803
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.032069
                        }
                      ],
                      "others_margin": 0.019536
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6844940185546875,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.055
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0339
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0202
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0105
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0101
                        }
                      ],
                      "others": -0.0456,
                      "total": 6.6845,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.054953
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.033872
                        },
                        {
                          "name": "touches",
                          "margin": -0.02022
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.010507
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.010084
                        }
                      ],
                      "others_margin": -0.045624
                    }
                  }
                ],
                "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.0536,
                "assist_rate": 0.0758,
                "assists": 0,
                "expected_goals": 0.1418,
                "goal_rate": 0.1067,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.6845,
                "minutes": 54,
                "total_pass": 18,
                "accurate_pass": 16,
                "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": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.7581,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 2900000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0098)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0536,
                "assist_rate": 0.0751,
                "assists": 0,
                "expected_goals": 0.1418,
                "goal_rate": 0.1057,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.6845,
                "minutes": 54,
                "total_pass": 18,
                "accurate_pass": 16,
                "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": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.7581,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": -3.83
              },
              "params": {
                "blend_weight": 0.0098,
                "history_matches": 6,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0787
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0197
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0197
                },
                {
                  "stat": "totalShots",
                  "before": 1.5644,
                  "after": 1.549
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0536,
                "assist_rate": 0.0751,
                "assists": 0,
                "expected_goals": 0.1418,
                "goal_rate": 0.1057,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.6845,
                "minutes": 54,
                "total_pass": 18,
                "accurate_pass": 16,
                "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": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.7581,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0536,
                "assist_rate": 0.0751,
                "assists": 0,
                "expected_goals": 0.1142,
                "goal_rate": 0.0851,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6845,
                "minutes": 54,
                "total_pass": 18,
                "accurate_pass": 16,
                "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": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.7581,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.8054,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.318,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mikel Jauregizar",
                "opponent_faced": "Mikel Jauregizar",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Mikel Jauregizar",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.318,
                  "pressing_faced": "HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.8054,
                  "skill_edge": -0.1444,
                  "height_edge": 0.012,
                  "attacker_skill": 0.4402,
                  "defender_skill": 0.761,
                  "xg_override": 0.1142
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 1.5597,
                  "after": 1.2562
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.0868,
                  "after": 0.8753
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4729,
                  "after": 0.3809
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1418,
                  "after": 0.1142
                },
                {
                  "stat": "goals",
                  "before": 0.1057,
                  "after": 0.0851
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0634,
                "assist_rate": 0.0751,
                "assists": 0,
                "expected_goals": 0.1145,
                "goal_rate": 0.0851,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6845,
                "minutes": 54,
                "total_pass": 18,
                "accurate_pass": 16,
                "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": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.7581,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.8054,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.318,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mikel Jauregizar",
                "opponent_faced": "Mikel Jauregizar",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8228,
                "creation_factor": 1.2075
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0536,
                  "after": 0.0634
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0634,
                "assist_rate": 0.0751,
                "assists": 0,
                "expected_goals": 0.1145,
                "goal_rate": 0.0851,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6845,
                "minutes": 54,
                "total_pass": 18,
                "accurate_pass": 16,
                "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": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.7581,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.8054,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.318,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mikel Jauregizar",
                "opponent_faced": "Mikel Jauregizar",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8228,
                "creation_factor": 1.2075,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3649,
                "fifa_rank": 2400.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0634,
                "assist_rate": 0.0751,
                "assists": 0,
                "expected_goals": 0.1145,
                "goal_rate": 0.0851,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6845,
                "minutes": 54,
                "total_pass": 18,
                "accurate_pass": 16,
                "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": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.7581,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.8054,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.318,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mikel Jauregizar",
                "opponent_faced": "Mikel Jauregizar",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1082,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8228,
                "creation_factor": 1.2075,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.1082,
                "scorer_weight": 0.0942,
                "squad_weight_total": 1.0259,
                "weight_share": 0.0918,
                "finishing_factor": 0.8228,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0634,
                "assist_rate": 0.0751,
                "assists": 0,
                "expected_goals": 0.1145,
                "goal_rate": 0.0851,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6845,
                "minutes": 54,
                "total_pass": 18,
                "accurate_pass": 16,
                "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": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.7581,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.8054,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.318,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mikel Jauregizar",
                "opponent_faced": "Mikel Jauregizar",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1082,
                "projected_assists": 0,
                "assist_probability": 0.0614,
                "finishing_factor": 0.8228,
                "creation_factor": 1.2075,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0614,
                "provider_weight": 0.0766,
                "squad_weight_total": 0.7834,
                "weight_share": 0.0977,
                "creation_factor": 1.2075,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13
              }
            }
          ]
        },
        "Giorgi Tsitaishvili": {
          "player_id": 875677,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 14,
          "height": 171,
          "market_value": 2700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0783,
            "assist_rate": 0.1121,
            "assists": 0,
            "expected_goals": 0.1259,
            "goal_rate": 0.1113,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7109,
            "minutes": 50,
            "total_pass": 7,
            "accurate_pass": 6,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 0,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 6.1327,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 6,
            "total_progression": 37,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.7507,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.28,
            "pressing_faced": "HIGH",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Mikel Jauregizar",
            "opponent_faced": "Mikel Jauregizar",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1183,
            "projected_assists": 0,
            "assist_probability": 0.0753,
            "finishing_factor": 0.9186,
            "creation_factor": 1.25,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305.0,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 19,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 2,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 76,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1586,
                "expected_assists": 0.1149,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 1,
                "clearances": 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": 16416331.0,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4701,
                "expected_assists": 0.0611,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 16,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1617,
            "combined_rank_score": 887.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 657.0,
            "sofascore_rating": 6.7333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1117.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7109,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giorgi Tsitaishvili",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Khumoyunmirzo Iminov",
                  "ranking": 1612
                },
                {
                  "player_name": "Shakhboz Juraev",
                  "ranking": 1613
                },
                {
                  "player_name": "Nika Kacharava",
                  "ranking": 1614
                },
                {
                  "player_name": "Andrej Stojchevski",
                  "ranking": 1615
                },
                {
                  "player_name": "Jorge Herrando",
                  "ranking": 1616
                }
              ],
              "lower": [
                {
                  "player_name": "Rustambek Fomin",
                  "ranking": 1618
                },
                {
                  "player_name": "Khamidullo Abdunabiev",
                  "ranking": 1619
                },
                {
                  "player_name": "Jovani Welch",
                  "ranking": 1620
                },
                {
                  "player_name": "Orlando Galo",
                  "ranking": 1621
                },
                {
                  "player_name": "Marcelo Díaz",
                  "ranking": 1622
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "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 (M_service) evaluated 4 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0675,
                "assist_rate": 0.1143,
                "assists": 0,
                "expected_goals": 0.1705,
                "goal_rate": 0.1512,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.7109,
                "minutes": 50,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 6.25,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 6,
                "total_progression": 38,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 19.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.4804,
                  "expectedAssists": 0.045,
                  "creative_index": 0.2244,
                  "creative_efficiency": 0.0445,
                  "shotValueNormalized": -0.1691,
                  "dribbleValueNormalized": 0.1498
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7100322842597961,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1262
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.096
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0367
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0223
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0209
                        }
                      ],
                      "others": 0.012,
                      "total": 0.71,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.146398
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.127694
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.05076
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.0305
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.029495
                        }
                      ],
                      "others_margin": 0.017031
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06750967353582382,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0112
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0056
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.004
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0038
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.003
                        }
                      ],
                      "others": 0.0003,
                      "total": 0.0675,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.136801
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.07689
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.058334
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.055104
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.042947
                        }
                      ],
                      "others_margin": 0.003575
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.11426813155412674,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0108
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0073
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0042
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0039
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.004
                        }
                      ],
                      "others": 0.022,
                      "total": 0.1143,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.119497
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.079494
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.048136
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.04552
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.044005
                        }
                      ],
                      "others_margin": 0.212843
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.17049996554851532,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0155
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0104
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0092
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0082
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0075
                        }
                      ],
                      "others": -0.0257,
                      "total": 0.1705,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.081476
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.054059
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.048068
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.042668
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.038865
                        }
                      ],
                      "others_margin": -0.140393
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.15115675330162048,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.034
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.027
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0162
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0074
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.007
                        }
                      ],
                      "others": 0.0121,
                      "total": 0.1512,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.206721
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.160456
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.110493
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.051722
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.049221
                        }
                      ],
                      "others_margin": 0.083455
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5310579538345337,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0737
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0652
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0386
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0236
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0183
                        }
                      ],
                      "others": 0.0215,
                      "total": 0.5311,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.19759
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.147276
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.077956
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.046957
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.036621
                        }
                      ],
                      "others_margin": 0.041026
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.5862579538345336,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3743
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0722
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0588
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0372
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0368
                        }
                      ],
                      "others": 0.0425,
                      "total": 1.5863,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.374277
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.07224
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.058775
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.037225
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.036757
                        }
                      ],
                      "others_margin": 0.042425
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.710850715637207,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.049
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0278
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0188
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0132
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0131
                        }
                      ],
                      "others": -0.0646,
                      "total": 6.7109,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.049016
                        },
                        {
                          "name": "touches",
                          "margin": -0.027768
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.018838
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013243
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.013149
                        }
                      ],
                      "others_margin": -0.064565
                    }
                  }
                ],
                "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.0662,
                "assist_rate": 0.1121,
                "assists": 0,
                "expected_goals": 0.1673,
                "goal_rate": 0.1483,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.7109,
                "minutes": 50,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 6.1327,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 6,
                "total_progression": 37,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0662,
                "assist_rate": 0.1121,
                "assists": 0,
                "expected_goals": 0.1673,
                "goal_rate": 0.1483,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.7109,
                "minutes": 50,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 6.1327,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 6,
                "total_progression": 37,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0662,
                "assist_rate": 0.1121,
                "assists": 0,
                "expected_goals": 0.1256,
                "goal_rate": 0.1113,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7109,
                "minutes": 50,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 6.1327,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 6,
                "total_progression": 37,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.7507,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.28,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mikel Jauregizar",
                "opponent_faced": "Mikel Jauregizar",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Mikel Jauregizar",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.28,
                  "pressing_faced": "HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.7507,
                  "skill_edge": -0.1456,
                  "height_edge": -0.024,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.761,
                  "xg_override": 0.1256
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.8
                },
                {
                  "stat": "totalShots",
                  "before": 1.5565,
                  "after": 1.1685
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.0354,
                  "after": 0.7773
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5211,
                  "after": 0.3912
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1673,
                  "after": 0.1256
                },
                {
                  "stat": "goals",
                  "before": 0.1483,
                  "after": 0.1113
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0783,
                "assist_rate": 0.1121,
                "assists": 0,
                "expected_goals": 0.1259,
                "goal_rate": 0.1113,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7109,
                "minutes": 50,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 6.1327,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 6,
                "total_progression": 37,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.7507,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.28,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mikel Jauregizar",
                "opponent_faced": "Mikel Jauregizar",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9186,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0662,
                  "after": 0.0783
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0783,
                "assist_rate": 0.1121,
                "assists": 0,
                "expected_goals": 0.1259,
                "goal_rate": 0.1113,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7109,
                "minutes": 50,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 6.1327,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 6,
                "total_progression": 37,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.7507,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.28,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mikel Jauregizar",
                "opponent_faced": "Mikel Jauregizar",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9186,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1617,
                "fifa_rank": 1117.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0783,
                "assist_rate": 0.1121,
                "assists": 0,
                "expected_goals": 0.1259,
                "goal_rate": 0.1113,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7109,
                "minutes": 50,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 6.1327,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 6,
                "total_progression": 37,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.7507,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.28,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mikel Jauregizar",
                "opponent_faced": "Mikel Jauregizar",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1183,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9186,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.1183,
                "scorer_weight": 0.1157,
                "squad_weight_total": 1.0259,
                "weight_share": 0.1127,
                "finishing_factor": 0.9186,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0783,
                "assist_rate": 0.1121,
                "assists": 0,
                "expected_goals": 0.1259,
                "goal_rate": 0.1113,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7109,
                "minutes": 50,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 6.1327,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 6,
                "total_progression": 37,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.7507,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.28,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mikel Jauregizar",
                "opponent_faced": "Mikel Jauregizar",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1183,
                "projected_assists": 0,
                "assist_probability": 0.0753,
                "finishing_factor": 0.9186,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0753,
                "provider_weight": 0.0979,
                "squad_weight_total": 0.7834,
                "weight_share": 0.1249,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13
              }
            }
          ]
        },
        "Jorge de Frutos": {
          "player_id": 900003,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 19,
          "height": 173,
          "market_value": 10900000,
          "stats": {
            "expected_goals": 0.2449,
            "goal_rate": 0.1835,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0592,
            "key_pass": 0,
            "rating": 6.8715,
            "minutes": 75,
            "total_pass": 13,
            "accurate_pass": 10,
            "duels_won": 5,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 5,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 27,
            "possession_lost": 9.493,
            "dispossessed": 0.0,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.202,
            "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": 36,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.965,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.2,
            "aerial_won": 1,
            "crosses_attempted": 2.0,
            "duel_win_rate": 0.456,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Jesús Areso",
            "opponent_faced": "Jesús Areso",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2172,
            "projected_assists": 0,
            "assist_probability": 0.0575,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305.0,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 71,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0441,
                "expected_assists": 0.1181,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 11,
                "key_pass": 2,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 65,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0728,
                "expected_assists": 0.0161,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 12,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 57,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0195,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0103,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 12,
                "tackles": 3,
                "tackles_won": 2,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 900,
            "combined_rank_score": 503.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 421.0,
            "sofascore_rating": 6.9222,
            "sofascore_appearances": 36.0,
            "fifa_rank": 585.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8715,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jorge de Frutos",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Stefan de Vrij",
                  "ranking": 895
                },
                {
                  "player_name": "Óscar Mingueza",
                  "ranking": 896
                },
                {
                  "player_name": "Moleiro",
                  "ranking": 897
                },
                {
                  "player_name": "Fabián Hormazábal",
                  "ranking": 898
                },
                {
                  "player_name": "Do-hyeok Kim",
                  "ranking": 899
                }
              ],
              "lower": [
                {
                  "player_name": "Bruno Silva",
                  "ranking": 901
                },
                {
                  "player_name": "Vedat Muriqi",
                  "ranking": 902
                },
                {
                  "player_name": "Seung-chan Heo",
                  "ranking": 903
                },
                {
                  "player_name": "Marco Asensio",
                  "ranking": 904
                },
                {
                  "player_name": "Nick Woltemade",
                  "ranking": 905
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.562,
          "history_matches": 5,
          "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": 5,
            "data_confidence": 0.562,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0099,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 5 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.2507,
                "goal_rate": 0.1884,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0495,
                "key_pass": 0,
                "rating": 6.8715,
                "minutes": 75,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 9.4,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.2,
                "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": 36,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1408,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.4988,
                  "totalShots": 0.4988,
                  "minutesPlayed": 72.718,
                  "shotValueNormalized": 0.0609,
                  "accuratePass": 9.5478,
                  "expectedAssists": 0.0404
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.25072816014289856,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0716
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0238
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0232
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0201
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0169
                        }
                      ],
                      "others": -0.0429,
                      "total": 0.2507,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.219926
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.085437
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.0831
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.066992
                        },
                        {
                          "name": "topSpeed",
                          "margin": -0.056138
                        }
                      ],
                      "others_margin": -0.157513
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.18835407495498657,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0385
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0281
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0143
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": -0.0091
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0061
                        }
                      ],
                      "others": -0.0143,
                      "total": 0.1884,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.144174
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.120179
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.067409
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": -0.045306
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.030592
                        }
                      ],
                      "others_margin": -0.073361
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4738926291465759,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1319
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.094
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0565
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0253
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0246
                        }
                      ],
                      "others": -0.0198,
                      "total": 0.4739,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.253596
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.187086
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.10826
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.052486
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.05118
                        }
                      ],
                      "others_margin": -0.041037
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.3169026374816895,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2758
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.2281
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0722
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0542
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0251
                        }
                      ],
                      "others": 0.0307,
                      "total": 1.3169,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.275788
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.228052
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.072221
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.054231
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.025103
                        }
                      ],
                      "others_margin": 0.030792
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.049534495919942856,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0083
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0029
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0025
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0022
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0018
                        }
                      ],
                      "others": -0.0014,
                      "total": 0.0495,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.148667
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.057203
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.04949
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.044263
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.035265
                        }
                      ],
                      "others_margin": -0.027084
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.36719536781311035,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.2729
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0415
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0192
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0134
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0111
                        }
                      ],
                      "others": 0.0203,
                      "total": 0.3672,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.514809
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.108023
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.054203
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.038241
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.031478
                        }
                      ],
                      "others_margin": 0.056696
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.871501445770264,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0399
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0368
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0277
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0183
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0117
                        }
                      ],
                      "others": 0.0141,
                      "total": 6.8715,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.039854
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.036838
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.027727
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.018258
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.011696
                        }
                      ],
                      "others_margin": 0.014136
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0099, quality 0.533)",
              "stats": {
                "expected_goals": 0.2532,
                "goal_rate": 0.1902,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.05,
                "key_pass": 0,
                "rating": 6.8715,
                "minutes": 75,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 9.493,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.202,
                "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": 36,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 10900000,
                "quality_factor": 0.533,
                "boost_factor": 1.0099
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2532,
                "goal_rate": 0.1902,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.05,
                "key_pass": 0,
                "rating": 6.8715,
                "minutes": 75,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 9.493,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.202,
                "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": 36,
                "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": {
                "expected_goals": 0.2443,
                "goal_rate": 0.1835,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.05,
                "key_pass": 0,
                "rating": 6.8715,
                "minutes": 75,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 9.493,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.202,
                "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": 36,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.965,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.2,
                "aerial_won": 1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.456,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jesús Areso",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.456,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.965,
                  "skill_edge": 0.0162,
                  "height_edge": -0.04,
                  "attacker_skill": 0.533,
                  "defender_skill": 0.497,
                  "xg_override": 0.2443
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.3299,
                  "after": 1.2834
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.8513,
                  "after": 0.8215
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4786,
                  "after": 0.4618
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2532,
                  "after": 0.2443
                },
                {
                  "stat": "goals",
                  "before": 0.1902,
                  "after": 0.1835
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.2449,
                "goal_rate": 0.1835,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0592,
                "key_pass": 0,
                "rating": 6.8715,
                "minutes": 75,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 9.493,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.202,
                "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": 36,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.965,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.2,
                "aerial_won": 1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.456,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.05,
                  "after": 0.0592
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.2449,
                "goal_rate": 0.1835,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0592,
                "key_pass": 0,
                "rating": 6.8715,
                "minutes": 75,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 9.493,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.202,
                "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": 36,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.965,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.2,
                "aerial_won": 1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.456,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 900,
                "fifa_rank": 585.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.2449,
                "goal_rate": 0.1835,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0592,
                "key_pass": 0,
                "rating": 6.8715,
                "minutes": 75,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 9.493,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.202,
                "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": 36,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.965,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.2,
                "aerial_won": 1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.456,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2172,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.2172,
                "scorer_weight": 0.1959,
                "squad_weight_total": 1.0259,
                "weight_share": 0.191,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.2449,
                "goal_rate": 0.1835,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0592,
                "key_pass": 0,
                "rating": 6.8715,
                "minutes": 75,
                "total_pass": 13,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 9.493,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.202,
                "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": 36,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.965,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.2,
                "aerial_won": 1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.456,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2172,
                "projected_assists": 0,
                "assist_probability": 0.0575,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0575,
                "provider_weight": 0.074,
                "squad_weight_total": 0.7834,
                "weight_share": 0.0945,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13
              }
            }
          ]
        },
        "Alemão": {
          "player_id": 981604,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 182,
          "market_value": 4400000,
          "stats": {
            "expected_goals": 0.1404,
            "goal_rate": 0.1277,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0248,
            "key_pass": 0,
            "rating": 6.6148,
            "minutes": 20,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 2.9593,
            "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,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9145,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Aymeric Laporte, Aitor Paredes",
            "opponent_faced": "Aymeric Laporte, Aitor Paredes",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.131,
            "projected_assists": 0,
            "assist_probability": 0.0245,
            "finishing_factor": 0.9348,
            "creation_factor": 0.8,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305.0,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 19,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0308,
                "expected_assists": 0.0035,
                "total_shots": 1,
                "total_pass": 5,
                "accurate_pass": 4,
                "aerial_won": 2,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 14,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0075,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416331.0,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3001,
                "expected_assists": 0.0021,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 33,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0059,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 15,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0653,
                "expected_assists": 0.0109,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 25,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1901,
                "expected_assists": 0.0022,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 5,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3669,
            "combined_rank_score": 1628.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2920.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6148,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alemão",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jesús Gallardo",
                  "ranking": 3664
                },
                {
                  "player_name": "Otar Kiteishvili",
                  "ranking": 3665
                },
                {
                  "player_name": "James Ward-Prowse",
                  "ranking": 3666
                },
                {
                  "player_name": "Raphael Veiga",
                  "ranking": 3667
                },
                {
                  "player_name": "Marcel Ruiz",
                  "ranking": 3668
                }
              ],
              "lower": [
                {
                  "player_name": "José Paradela",
                  "ranking": 3670
                },
                {
                  "player_name": "Lucas Høgsberg",
                  "ranking": 3671
                },
                {
                  "player_name": "Haji Wright",
                  "ranking": 3672
                },
                {
                  "player_name": "Willer Ditta",
                  "ranking": 3673
                },
                {
                  "player_name": "Eren Elmalı",
                  "ranking": 3674
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9864,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 6 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.1553,
                "goal_rate": 0.1415,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0213,
                "key_pass": 0,
                "rating": 6.6148,
                "minutes": 20,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 19.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 14.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 15.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.1479,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.1257,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.2326,
                  "totalShots": 0.9954,
                  "minutesPlayed": 19.4894,
                  "shotValueNormalized": -0.0439,
                  "accuratePass": 3.9897,
                  "expectedAssists": 0.0052
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1553332507610321,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0868
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0282
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0227
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0149
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0137
                        }
                      ],
                      "others": -0.041,
                      "total": 0.1553,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.273542
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.107756
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.095924
                        },
                        {
                          "name": "topSpeed",
                          "margin": -0.068756
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.067445
                        }
                      ],
                      "others_margin": -0.234294
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1414763182401657,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0384
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0242
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0217
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0117
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0068
                        }
                      ],
                      "others": -0.0423,
                      "total": 0.1415,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.143916
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.102707
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.101946
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.059479
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.03643
                        }
                      ],
                      "others_margin": -0.26155
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3911813199520111,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1316
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0596
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.052
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0165
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0139
                        }
                      ],
                      "others": -0.0432,
                      "total": 0.3912,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.252943
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.122606
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.105969
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.036173
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.031506
                        }
                      ],
                      "others_margin": -0.104938
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.971713662147522,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1817
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1316
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0674
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0606
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0603
                        }
                      ],
                      "others": -0.2173,
                      "total": 0.9717,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.181653
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.131614
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.067396
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.060608
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.060338
                        }
                      ],
                      "others_margin": -0.217339
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.021311283111572266,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0191
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0084
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0024
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0022
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0047,
                      "total": 0.0213,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.382148
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.230351
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.077251
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.074904
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.069802
                        }
                      ],
                      "others_margin": -0.201439
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.43174466490745544,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1988
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0767
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0358
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.021
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0184
                        }
                      ],
                      "others": -0.1208,
                      "total": 0.4317,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.346983
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.148449
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.062361
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.036161
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.032749
                        }
                      ],
                      "others_margin": -0.246555
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.614791393280029,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0312
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0301
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0274
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0259
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0122
                        }
                      ],
                      "others": -0.0734,
                      "total": 6.6148,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.031239
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.030136
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.027395
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.025887
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.012175
                        }
                      ],
                      "others_margin": -0.073338
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9864, quality 0.455)",
              "stats": {
                "expected_goals": 0.1532,
                "goal_rate": 0.1396,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.021,
                "key_pass": 0,
                "rating": 6.6148,
                "minutes": 20,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 2.9593,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 4400000,
                "quality_factor": 0.4548,
                "boost_factor": 0.9864
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1532,
                "goal_rate": 0.1396,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.021,
                "key_pass": 0,
                "rating": 6.6148,
                "minutes": 20,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 2.9593,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 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.1401,
                "goal_rate": 0.1277,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.021,
                "key_pass": 0,
                "rating": 6.6148,
                "minutes": 20,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 2.9593,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.9145,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Aitor Paredes",
                "opponent_faced": "Aymeric Laporte, Aitor Paredes",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Aymeric Laporte, Aitor Paredes",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9145,
                  "skill_edge": -0.0322,
                  "height_edge": -0.026,
                  "attacker_skill": 0.4548,
                  "defender_skill": 0.5263,
                  "xg_override": 0.1401
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.9585,
                  "after": 0.8765
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.5726,
                  "after": 0.5236
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3859,
                  "after": 0.3529
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1532,
                  "after": 0.1401
                },
                {
                  "stat": "goals",
                  "before": 0.1396,
                  "after": 0.1277
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1404,
                "goal_rate": 0.1277,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0248,
                "key_pass": 0,
                "rating": 6.6148,
                "minutes": 20,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 2.9593,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.9145,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Aitor Paredes",
                "opponent_faced": "Aymeric Laporte, Aitor Paredes",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9348,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1404,
                "goal_rate": 0.1277,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0248,
                "key_pass": 0,
                "rating": 6.6148,
                "minutes": 20,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 2.9593,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.9145,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Aitor Paredes",
                "opponent_faced": "Aymeric Laporte, Aitor Paredes",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9348,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3669,
                "fifa_rank": 2920.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.1404,
                "goal_rate": 0.1277,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0248,
                "key_pass": 0,
                "rating": 6.6148,
                "minutes": 20,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 2.9593,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.9145,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Aitor Paredes",
                "opponent_faced": "Aymeric Laporte, Aitor Paredes",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.131,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9348,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.131,
                "scorer_weight": 0.1312,
                "squad_weight_total": 1.0259,
                "weight_share": 0.1279,
                "finishing_factor": 0.9348,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.1404,
                "goal_rate": 0.1277,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0248,
                "key_pass": 0,
                "rating": 6.6148,
                "minutes": 20,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 2.9593,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.9145,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Aitor Paredes",
                "opponent_faced": "Aymeric Laporte, Aitor Paredes",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.131,
                "projected_assists": 0,
                "assist_probability": 0.0245,
                "finishing_factor": 0.9348,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0245,
                "provider_weight": 0.0198,
                "squad_weight_total": 0.7834,
                "weight_share": 0.0253,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13
              }
            }
          ]
        },
        "Sergio Camello": {
          "player_id": 910024,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 177,
          "market_value": 3300000,
          "stats": {
            "expected_goals": 0.2643,
            "goal_rate": 0.5063,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.1025,
            "key_pass": 1,
            "rating": 7.1329,
            "minutes": 67,
            "total_pass": 18,
            "accurate_pass": 14,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 33,
            "possession_lost": 10.9433,
            "dispossessed": 0.0,
            "duels_lost": 6,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.1323,
            "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": 11,
            "total_progression": 34,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "yellowCards": 0.4762,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 57.1,
            "shotConversion": 0.43,
            "minutesPct": 70.7,
            "pointsPerMatch": 0.33,
            "netGoalDifferencePer90": 0.0,
            "duel_xg_multiplier": 0.8029,
            "dribbles_attempted": 3,
            "dribbles_successful": 0.9,
            "aerial_won": 1,
            "crosses_attempted": 1.9,
            "duel_win_rate": 0.346,
            "pressing_faced": "LOW",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Dani Vivian",
            "opponent_faced": "Dani Vivian",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2323,
            "projected_assists": 0,
            "assist_probability": 0.0974,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305.0,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 71,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2618,
                "expected_assists": 0.0354,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 22,
                "accurate_pass": 21,
                "tackles": 3,
                "tackles_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 76,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3012,
                "expected_assists": 0.3071,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 22,
                "accurate_pass": 18,
                "key_pass": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416331.0,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 75,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1601,
                "expected_assists": 0.0158,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 7,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 57,
                "rating": 9.4,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.8563,
                "expected_assists": 0.0889,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 75,
                "rating": 8.0,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7722,
                "expected_assists": 0.0052,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 20,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1773,
                "expected_assists": 0.0149,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 26,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0069,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 8,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3542,
            "combined_rank_score": 1508.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 122.0,
            "sofascore_rating": 7.4,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2895.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1329,
            "source_file": "data/player_rankings.csv",
            "player_name": "Sergio Camello",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Chrislain Matsima",
                  "ranking": 3537
                },
                {
                  "player_name": "Yan Couto",
                  "ranking": 3538
                },
                {
                  "player_name": "Enes Ünal",
                  "ranking": 3539
                },
                {
                  "player_name": "Issa Diop",
                  "ranking": 3540
                },
                {
                  "player_name": "Senne Lynen",
                  "ranking": 3541
                }
              ],
              "lower": [
                {
                  "player_name": "Mio Backhaus",
                  "ranking": 3543
                },
                {
                  "player_name": "Jindřich Staněk",
                  "ranking": 3544
                },
                {
                  "player_name": "Janis Blaswich",
                  "ranking": 3545
                },
                {
                  "player_name": "Jobe Bellingham",
                  "ranking": 3546
                },
                {
                  "player_name": "Omar El Hilali",
                  "ranking": 3547
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.709,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.709,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9823,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 191.0,
              "goals_per90": 1.4285714285714286,
              "assists_per90": 0.0,
              "shots_per90": 3.3,
              "shots_on_target_pct": 57.1,
              "prior_reliability": 0.14
            },
            "rationale": "XGBoost regressor (F_service) evaluated 7 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, rel: 0.14, gls/90: 1.4285714285714286, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.3343,
                "goal_rate": 0.6098,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0881,
                "key_pass": 1,
                "rating": 7.1329,
                "minutes": 67,
                "total_pass": 19,
                "accurate_pass": 14,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 11.14,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.14,
                "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": 11,
                "total_progression": 34,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 9.4
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 1.5325,
                  "totalShots": 2.8986,
                  "minutesPlayed": 69.2534,
                  "shotValueNormalized": 0.329,
                  "accuratePass": 15.4844,
                  "expectedAssists": 0.0827
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.3342982232570648,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0291
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0242
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0215
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0207
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0154
                        }
                      ],
                      "others": -0.06,
                      "total": 0.3343,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.077181
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.063727
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.056952
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.051724
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.038309
                        }
                      ],
                      "others_margin": -0.165079
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.6098365783691406,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.1131
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0652
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0688
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0514
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0333
                        }
                      ],
                      "others": -0.0086,
                      "total": 0.6098,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.332724
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.151166
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.138031
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.09188
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.055403
                        }
                      ],
                      "others_margin": -0.014175
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 1.142737627029419,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.2505
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.1174
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.12
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0949
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0625
                        }
                      ],
                      "others": -0.0914,
                      "total": 1.1427,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.354484
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.130901
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.118129
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.084491
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.051942
                        }
                      ],
                      "others_margin": -0.07686
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.140637627029419,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3846
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.2272
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1188
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.1163
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0493
                        }
                      ],
                      "others": 0.0418,
                      "total": 2.1406,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.384648
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.227195
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.118769
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.116331
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.049314
                        }
                      ],
                      "others_margin": 0.041826
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08810580521821976,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0248
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0094
                        },
                        {
                          "name": "shot_waste_rate",
                          "contribution": -0.0062
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0058
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0032
                        }
                      ],
                      "others": -0.0089,
                      "total": 0.0881,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.345937
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.105463
                        },
                        {
                          "name": "shot_waste_rate",
                          "margin": -0.068327
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.064034
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.033475
                        }
                      ],
                      "others_margin": -0.097176
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.9512898325920105,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": 0.0733
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0447
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0434
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0364
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.034
                        }
                      ],
                      "others": 0.0413,
                      "total": 0.9513,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": 0.102562
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.057824
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.053034
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.042484
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.03813
                        }
                      ],
                      "others_margin": 0.044312
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.132854461669922,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.2111
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0425
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0413
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0391
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0231
                        }
                      ],
                      "others": -0.0392,
                      "total": 7.1329,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.211103
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.042549
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.041346
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.039148
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.023055
                        }
                      ],
                      "others_margin": -0.039307
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9823, quality 0.441)",
              "stats": {
                "expected_goals": 0.3284,
                "goal_rate": 0.5991,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0866,
                "key_pass": 1,
                "rating": 7.1329,
                "minutes": 67,
                "total_pass": 18,
                "accurate_pass": 14,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 10.9433,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1375,
                "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": 11,
                "total_progression": 34,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 3300000,
                "quality_factor": 0.4412,
                "boost_factor": 0.9823
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0379)",
              "stats": {
                "expected_goals": 0.3284,
                "goal_rate": 0.6306,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0866,
                "key_pass": 1,
                "rating": 7.1329,
                "minutes": 67,
                "total_pass": 18,
                "accurate_pass": 14,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 10.9433,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1323,
                "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": 11,
                "total_progression": 34,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 57.1,
                "shotConversion": 0.43,
                "minutesPct": 70.7,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": -1.41
              },
              "params": {
                "blend_weight": 0.0379,
                "history_matches": 7,
                "prior_reliability": 0.14,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.1083
                },
                {
                  "stat": "totalShots",
                  "before": 2.1029,
                  "after": 2.1483
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "goals",
                  "before": 0.5991,
                  "after": 0.6306
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.1226,
                  "after": 1.1513
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0181
                },
                {
                  "stat": "goalAssist",
                  "before": 0.1375,
                  "after": 0.1323
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3284,
                "goal_rate": 0.6306,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0866,
                "key_pass": 1,
                "rating": 7.1329,
                "minutes": 67,
                "total_pass": 18,
                "accurate_pass": 14,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 10.9433,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1323,
                "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": 11,
                "total_progression": 34,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 57.1,
                "shotConversion": 0.43,
                "minutesPct": 70.7,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.2637,
                "goal_rate": 0.5063,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0866,
                "key_pass": 1,
                "rating": 7.1329,
                "minutes": 67,
                "total_pass": 18,
                "accurate_pass": 14,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 10.9433,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1323,
                "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": 11,
                "total_progression": 34,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 57.1,
                "shotConversion": 0.43,
                "minutesPct": 70.7,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.8029,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "aerial_won": 1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.346,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Dani Vivian",
                "opponent_faced": "Dani Vivian",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Dani Vivian",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                  "duel_win_rate": 0.346,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.8029,
                  "skill_edge": -0.1101,
                  "height_edge": -0.024,
                  "attacker_skill": 0.4412,
                  "defender_skill": 0.6858,
                  "xg_override": 0.2637
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.1483,
                  "after": 1.7249
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.1513,
                  "after": 0.9244
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.9803,
                  "after": 0.7871
                },
                {
                  "stat": "goals",
                  "before": 0.6306,
                  "after": 0.5063
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.3284,
                  "after": 0.2637
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.2643,
                "goal_rate": 0.5063,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1025,
                "key_pass": 1,
                "rating": 7.1329,
                "minutes": 67,
                "total_pass": 18,
                "accurate_pass": 14,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 10.9433,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1323,
                "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": 11,
                "total_progression": 34,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 57.1,
                "shotConversion": 0.43,
                "minutesPct": 70.7,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.8029,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "aerial_won": 1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.346,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Dani Vivian",
                "opponent_faced": "Dani Vivian",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0866,
                  "after": 0.1025
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 1 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.2643,
                "goal_rate": 0.5063,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1025,
                "key_pass": 1,
                "rating": 7.1329,
                "minutes": 67,
                "total_pass": 18,
                "accurate_pass": 14,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 10.9433,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1323,
                "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": 11,
                "total_progression": 34,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 57.1,
                "shotConversion": 0.43,
                "minutesPct": 70.7,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.8029,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "aerial_won": 1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.346,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Dani Vivian",
                "opponent_faced": "Dani Vivian",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3542,
                "fifa_rank": 2895.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.2643,
                "goal_rate": 0.5063,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1025,
                "key_pass": 1,
                "rating": 7.1329,
                "minutes": 67,
                "total_pass": 18,
                "accurate_pass": 14,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 10.9433,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1323,
                "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": 11,
                "total_progression": 34,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 57.1,
                "shotConversion": 0.43,
                "minutesPct": 70.7,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.8029,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "aerial_won": 1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.346,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Dani Vivian",
                "opponent_faced": "Dani Vivian",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2323,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.2323,
                "scorer_weight": 0.3304,
                "squad_weight_total": 1.0259,
                "weight_share": 0.322,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.2643,
                "goal_rate": 0.5063,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1025,
                "key_pass": 1,
                "rating": 7.1329,
                "minutes": 67,
                "total_pass": 18,
                "accurate_pass": 14,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 10.9433,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1323,
                "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": 11,
                "total_progression": 34,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 57.1,
                "shotConversion": 0.43,
                "minutesPct": 70.7,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.8029,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "aerial_won": 1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.346,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Dani Vivian",
                "opponent_faced": "Dani Vivian",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2323,
                "projected_assists": 0,
                "assist_probability": 0.0974,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0974,
                "provider_weight": 0.1281,
                "squad_weight_total": 0.7834,
                "weight_share": 0.1636,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "bench_players": {
        "Emil Audero": {
          "player_id": 318603,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 12,
          "height": 190,
          "market_value": 2700000,
          "stats": {
            "saves": 0,
            "goals_prevented": -0.0093,
            "rating": 6.7942,
            "minutes": 4,
            "total_pass": 2,
            "accurate_pass": 1,
            "duels_won": 0,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "touches": 2,
            "clearances": 0,
            "ball_recovery": 0,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.5746,
            "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.255,
            "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": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305.0,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 16,
                "key_pass": 1,
                "clearances": 2,
                "ball_recovery": 6,
                "saves": 2,
                "goals_prevented": -0.2107
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 28,
                "clearances": 1,
                "ball_recovery": 11,
                "saves": 3,
                "goals_prevented": 0.1487
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416331.0,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 20,
                "clearances": 2,
                "ball_recovery": 8,
                "saves": 7,
                "goals_prevented": -1.0454
              },
              "has_player_stats": true,
              "league_name": "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": 1308,
            "combined_rank_score": 567.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 925.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7942,
            "source_file": "data/player_rankings.csv",
            "player_name": "Emil Audero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Matt Sutton",
                  "ranking": 1303
                },
                {
                  "player_name": "Pierre Kalulu",
                  "ranking": 1304
                },
                {
                  "player_name": "Mario Gila",
                  "ranking": 1305
                },
                {
                  "player_name": "Son Heung Min",
                  "ranking": 1306
                },
                {
                  "player_name": "Bazoumana Touré",
                  "ranking": 1307
                }
              ],
              "lower": [
                {
                  "player_name": "Lukáš Haraslín",
                  "ranking": 1309
                },
                {
                  "player_name": "Marko Dmitrović",
                  "ranking": 1310
                },
                {
                  "player_name": "Tino Livramento",
                  "ranking": 1311
                },
                {
                  "player_name": "Yéremy Pino",
                  "ranking": 1312
                },
                {
                  "player_name": "Cecilio Waterman",
                  "ranking": 1313
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "G_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "accurateLongBalls",
              "totalOwnHalfPasses",
              "accurateOwnHalfPasses",
              "saves",
              "savedShotsFromInsideTheBox",
              "goodHighClaim",
              "punches",
              "aerialWon",
              "totalKeeperSweeper",
              "accurateKeeperSweeper",
              "totalClearance",
              "ballRecovery",
              "touches",
              "possessionLostCtrl",
              "kilometersCovered",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "gk_coverage",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost G_service (3 historical appearances) to 4.4 expected mins (appearance prob 0.11)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.1938,
                "rating": 6.7942,
                "minutes": 90,
                "total_pass": 33,
                "accurate_pass": 21,
                "duels_won": 0,
                "total_long_balls": 15,
                "accurate_long_balls": 4,
                "touches": 46,
                "clearances": 2,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 3,
                "possession_lost": 12.0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 19
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 4,
                  "trained_at": "2026-09-29T10:01:45.250339+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 135,
                    "rows": 3738
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "save_contribution": 3.4083,
                  "goalkeeperValueNormalized": 0.1452,
                  "sweeper_actions_p90": 0.3304,
                  "possessionLostCtrl": 12.0146,
                  "accurateKeeperSweeper": 0.3304,
                  "accurateLongBalls": 4.0496
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.9715795516967773,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0645
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0523
                      },
                      {
                        "name": "saves",
                        "importance": 0.0514
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0475
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0445
                      }
                    ],
                    "decomposition": {
                      "base": 2.9861,
                      "items": [
                        {
                          "name": "save_contribution",
                          "contribution": 0.0619
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0434
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0391
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.033
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0266
                        }
                      ],
                      "others": -0.0125,
                      "total": 2.9716,
                      "log_link": true,
                      "margin_base": 1.093963,
                      "item_margins": [
                        {
                          "name": "save_contribution",
                          "margin": 0.020525
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.01435
                        },
                        {
                          "name": "saves",
                          "margin": 0.012925
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.010886
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.008883
                        }
                      ],
                      "others_margin": -0.0042
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.19380876421928406,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0582
                      },
                      {
                        "name": "punches",
                        "importance": 0.0515
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.051
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0478
                      },
                      {
                        "name": "touches",
                        "importance": 0.043
                      }
                    ],
                    "decomposition": {
                      "base": -0.0455,
                      "items": [
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.041
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0372
                        },
                        {
                          "name": "save_contribution",
                          "contribution": -0.0303
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0184
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": -0.018
                        }
                      ],
                      "others": -0.0034,
                      "total": -0.1938,
                      "log_link": false,
                      "margin_base": -0.045465,
                      "item_margins": [
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.041019
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.037243
                        },
                        {
                          "name": "save_contribution",
                          "margin": -0.030254
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.018403
                        },
                        {
                          "name": "inside_box_save_rate",
                          "margin": -0.018049
                        }
                      ],
                      "others_margin": -0.003376
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.794156074523926,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.075
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0537
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0529
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0478
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 7.0878,
                      "items": [
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0529
                        },
                        {
                          "name": "save_contribution",
                          "contribution": -0.051
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0483
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0364
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": -0.0255
                        }
                      ],
                      "others": -0.0795,
                      "total": 6.7942,
                      "log_link": false,
                      "margin_base": 7.087778,
                      "item_margins": [
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.0529
                        },
                        {
                          "name": "save_contribution",
                          "margin": -0.050981
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.048277
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.036422
                        },
                        {
                          "name": "inside_box_save_rate",
                          "margin": -0.025513
                        }
                      ],
                      "others_margin": -0.07953
                    }
                  }
                ],
                "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.1902,
                "rating": 6.7942,
                "minutes": 90,
                "total_pass": 33,
                "accurate_pass": 21,
                "duels_won": 0,
                "total_long_balls": 15,
                "accurate_long_balls": 4,
                "touches": 45,
                "clearances": 2,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 3,
                "possession_lost": 11.7747,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 19
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0,
                "goals_prevented": -0.0093,
                "rating": 6.7942,
                "minutes": 4,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.5746,
                "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.0093,
                "rating": 6.7942,
                "minutes": 4,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.5746,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 8 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "saves": 0,
                "goals_prevented": -0.0093,
                "rating": 6.7942,
                "minutes": 4,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.5746,
                "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.255,
                "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": 79.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1308,
                "fifa_rank": 925.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Jozhua Vertrouwd": {
          "player_id": 1120947,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 33,
          "height": 188,
          "market_value": 2100000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.5258,
            "minutes": 14,
            "total_pass": 3,
            "accurate_pass": 2,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 4,
            "possession_lost": 0.8139,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 4,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 44.8,
            "pointsPerMatch": 0.5,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.217,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.255,
            "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": 68.0
          },
          "latest_10_games": [
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 32,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 7,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0047,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 24,
                "clearances": 3,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 6262,
            "combined_rank_score": 4535.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 938.0,
            "sofascore_rating": 6.4556,
            "sofascore_appearances": 9.0,
            "fifa_rank": 8133.0,
            "fifa_overall": 68.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.5258,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jozhua Vertrouwd",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Hyun Kim",
                  "ranking": 6257
                },
                {
                  "player_name": "Rai Lima",
                  "ranking": 6258
                },
                {
                  "player_name": "Nicolás Rodríguez",
                  "ranking": 6259
                },
                {
                  "player_name": "Blás Riveros",
                  "ranking": 6260
                },
                {
                  "player_name": "Francisco Calvo",
                  "ranking": 6261
                }
              ],
              "lower": [
                {
                  "player_name": "Rafael Carrascal",
                  "ranking": 6263
                },
                {
                  "player_name": "Rodrigo Contreras",
                  "ranking": 6264
                },
                {
                  "player_name": "Leonardo Castro",
                  "ranking": 6265
                },
                {
                  "player_name": "Rafa Rodriguez",
                  "ranking": 6266
                },
                {
                  "player_name": "Yeison Guzmán",
                  "ranking": 6267
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.388,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.388,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.217,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost D_service (2 historical appearances) to 13.6 expected mins (appearance prob 0.22); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.5258,
                "minutes": 61,
                "total_pass": 18,
                "accurate_pass": 16,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 5.5,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 29,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 32.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.3784,
                  "defensive_actions": 1.0811,
                  "wonTackle": 0.5405,
                  "totalTackle_p90": 3.0405,
                  "totalClearance_p90": 1.3784,
                  "aerialWon": 0.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.5606111884117126,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.127
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0899
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0687
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0424
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0124
                        }
                      ],
                      "others": -0.0872,
                      "total": 0.5606,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.151487
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.123115
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.105443
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.066445
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.018926
                        }
                      ],
                      "others_margin": -0.14457
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2439820766448975,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.124
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.1076
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0437
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0354
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0294
                        }
                      ],
                      "others": 0.0048,
                      "total": 1.244,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.089063
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.076796
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.032947
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.027552
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.023447
                        }
                      ],
                      "others_margin": 0.00383
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.659190833568573,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.1293
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0334
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0277
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.014
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.013
                        }
                      ],
                      "others": -0.0158,
                      "total": 0.6592,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.170329
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.046862
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.038712
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.020175
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.019006
                        }
                      ],
                      "others_margin": -0.02377
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.8379673957824707,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.736
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4927
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1933
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0761
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0638
                        }
                      ],
                      "others": -0.1153,
                      "total": 1.838,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.244965
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.205552
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.093818
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.039483
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.033227
                        }
                      ],
                      "others_margin": -0.060871
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.4463672637939453,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.5142
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1803
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0422
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0381
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0243
                        }
                      ],
                      "others": -0.1003,
                      "total": 0.4464,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.519175
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.272728
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.07627
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.069104
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.043482
                        }
                      ],
                      "others_margin": -0.20278
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.30643993616104126,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0569
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0489
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0353
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0261
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0202
                        }
                      ],
                      "others": -0.0748,
                      "total": 0.3064,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.056882
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.048852
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.035302
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.026098
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.020236
                        }
                      ],
                      "others_margin": -0.074902
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.525758743286133,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0705
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.049
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0158
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0157
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0148
                        }
                      ],
                      "others": -0.0662,
                      "total": 6.5258,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.07046
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.04897
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.015773
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.01573
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.014826
                        }
                      ],
                      "others_margin": -0.066269
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.5258,
                "minutes": 61,
                "total_pass": 18,
                "accurate_pass": 15,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 5.3968,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 29,
                "progressive_carries": 0,
                "key_pass": 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.0403)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.5258,
                "minutes": 61,
                "total_pass": 18,
                "accurate_pass": 15,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 5.3968,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 29,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 44.8,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": -0.74
              },
              "params": {
                "blend_weight": 0.0403,
                "history_matches": 2,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0619
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.031
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.5501,
                  "after": 0.528
                },
                {
                  "stat": "totalShots",
                  "before": 0.3007,
                  "after": 0.2886
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.6 expected minutes (appearance prob 0.22)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.5258,
                "minutes": 14,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.8139,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 44.8,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "appearance_probability": 0.217
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.5258,
                "minutes": 14,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.8139,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 44.8,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 68.0; not used by the projection)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.5258,
                "minutes": 14,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.8139,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 44.8,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "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": 68.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 6262,
                "fifa_rank": 8133.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 68.0
              }
            }
          ]
        },
        "Luiz Felipe": {
          "player_id": 850035,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 5,
          "height": 187,
          "market_value": 2100000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "duels_won": 1,
            "total_pass": 6,
            "accurate_pass": 5,
            "expected_goals": 0.0024,
            "rating": 6.8,
            "minutes": 14,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 0.935,
            "dispossessed": 0.4,
            "duels_lost": 0,
            "aerial_lost": 2,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.006,
            "assists": 0,
            "expected_assists": 0.0068,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0018,
            "key_pass": 0,
            "ball_carries": 3,
            "total_progression": 8,
            "progressive_carries": 1,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.255,
            "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": 75.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3592,
            "combined_rank_score": 1560.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 721.0,
            "sofascore_rating": 6.68,
            "sofascore_appearances": 10.0,
            "fifa_rank": 2399.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Luiz Felipe",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kike García",
                  "ranking": 3587
                },
                {
                  "player_name": "Ephron Mason-Clark",
                  "ranking": 3588
                },
                {
                  "player_name": "Zubeldia",
                  "ranking": 3589
                },
                {
                  "player_name": "Hugo Rincón",
                  "ranking": 3590
                },
                {
                  "player_name": "Christos Zafeiris",
                  "ranking": 3591
                }
              ],
              "lower": [
                {
                  "player_name": "Catena",
                  "ranking": 3593
                },
                {
                  "player_name": "Arijanet Murić",
                  "ranking": 3594
                },
                {
                  "player_name": "Puado",
                  "ranking": 3595
                },
                {
                  "player_name": "Carlos Alcaraz",
                  "ranking": 3596
                },
                {
                  "player_name": "Marash Kumbulla",
                  "ranking": 3597
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "D_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€2,100,000) scaled to 13.6 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.44)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 14,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 0.935,
                "dispossessed": 0.4,
                "duels_lost": 0,
                "aerial_lost": 2,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.006,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0018,
                "key_pass": 0,
                "ball_carries": 3,
                "total_progression": 8,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 14,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 0.935,
                "dispossessed": 0.4,
                "duels_lost": 0,
                "aerial_lost": 2,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.006,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0018,
                "key_pass": 0,
                "ball_carries": 3,
                "total_progression": 8,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 14,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 0.935,
                "dispossessed": 0.4,
                "duels_lost": 0,
                "aerial_lost": 2,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.006,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0018,
                "key_pass": 0,
                "ball_carries": 3,
                "total_progression": 8,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "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": 75.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3592,
                "fifa_rank": 2399.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            }
          ]
        },
        "Unai López": {
          "player_id": 588566,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 169,
          "market_value": 2600000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0311,
            "assist_rate": 0.0257,
            "assists": 0,
            "expected_goals": 0.0258,
            "goal_rate": 0.0199,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.9678,
            "minutes": 22,
            "total_pass": 12,
            "accurate_pass": 10,
            "duels_won": 1,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 3.2172,
            "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,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 8,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.3704,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 100.0,
            "shotConversion": 0.0,
            "minutesPct": 89.3,
            "pointsPerMatch": 0.33,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.307,
            "bench_expected_minutes": 21.97,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.255,
            "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": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305.0,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 87,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0111,
                "expected_assists": 0.1998,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 75,
                "accurate_pass": 63,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 61,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1235,
                "expected_assists": 0.1178,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 54,
                "accurate_pass": 48,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416331.0,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 75,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0293,
                "expected_assists": 0.0223,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 58,
                "accurate_pass": 51,
                "key_pass": 1,
                "tackles": 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": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.0699,
                "expected_assists": 0.4677,
                "total_shots": 1,
                "total_pass": 63,
                "accurate_pass": 52,
                "key_pass": 5,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 75,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.1372,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0258,
                "expected_assists": 0.1907,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 48,
                "accurate_pass": 41,
                "key_pass": 5,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 78,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0046,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 25,
                "tackles": 2,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 4,
                "duels_won": 8,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3158,
            "combined_rank_score": 1124.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 292.0,
            "sofascore_rating": 7.05,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1956.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9678,
            "source_file": "data/player_rankings.csv",
            "player_name": "Unai López",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Tammy Abraham",
                  "ranking": 3153
                },
                {
                  "player_name": "Rafa Marín",
                  "ranking": 3154
                },
                {
                  "player_name": "Jake O'Brien",
                  "ranking": 3155
                },
                {
                  "player_name": "Robin Hranáč",
                  "ranking": 3156
                },
                {
                  "player_name": "Jhon Durán",
                  "ranking": 3157
                }
              ],
              "lower": [
                {
                  "player_name": "Clément Lenglet",
                  "ranking": 3159
                },
                {
                  "player_name": "Albion Rrahmani",
                  "ranking": 3160
                },
                {
                  "player_name": "Leon Bailey",
                  "ranking": 3161
                },
                {
                  "player_name": "Jack Clarke",
                  "ranking": 3162
                },
                {
                  "player_name": "Vitor Reis",
                  "ranking": 3163
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.715,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.715,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 21.97222218756125,
            "bench_appearance_prob": 0.307,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.3703703703703703,
              "prior_reliability": 0.18
            },
            "rationale": "Bench projection scaled from XGBoost M_service (7 historical appearances) to 22.0 expected mins (appearance prob 0.31); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1299,
                "assist_rate": 0.0933,
                "assists": 0,
                "expected_goals": 0.1075,
                "goal_rate": 0.0873,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9678,
                "minutes": 79,
                "total_pass": 51,
                "accurate_pass": 43,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 66,
                "possession_lost": 13.43,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 17,
                "total_progression": 32,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.8015,
                  "expectedAssists": 0.168,
                  "creative_index": 1.0178,
                  "creative_efficiency": 0.0726,
                  "shotValueNormalized": -0.011,
                  "dribbleValueNormalized": 0.0772
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.5150045156478882,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1613
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.1506
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0732
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0466
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0459
                        }
                      ],
                      "others": 0.1107,
                      "total": 1.515,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.160498
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.129643
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.057409
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.034898
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.033216
                        }
                      ],
                      "others_margin": 0.075902
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.12989482283592224,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0213
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0063
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0059
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0048
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0038
                        }
                      ],
                      "others": 0.0082,
                      "total": 0.1299,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.218347
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.056419
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.050221
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.039057
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.030532
                        }
                      ],
                      "others_margin": 0.06465
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09329602122306824,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0069
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0055
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0023
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0022
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0022
                        }
                      ],
                      "others": -0.0063,
                      "total": 0.0933,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.077609
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.057589
                        },
                        {
                          "name": "touches",
                          "margin": -0.023616
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.022871
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.022684
                        }
                      ],
                      "others_margin": -0.065674
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10754496604204178,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0395
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0097
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0068
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0062
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0057
                        }
                      ],
                      "others": -0.0186,
                      "total": 0.1075,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.243759
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.070334
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.052137
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.050282
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.046543
                        }
                      ],
                      "others_margin": -0.159567
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.08727741986513138,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.031
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0137
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0055
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0043
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0031
                        }
                      ],
                      "others": -0.003,
                      "total": 0.0873,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.235358
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.124787
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.05506
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.045259
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.033362
                        }
                      ],
                      "others_margin": -0.03367
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.24961617588996887,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.015
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0138
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.012
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0108
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0091
                        }
                      ],
                      "others": -0.0271,
                      "total": 0.2496,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalPass_p90",
                          "margin": -0.045467
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.043664
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.039809
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.037158
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.032355
                        }
                      ],
                      "others_margin": -0.102982
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9063639640808105,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0802
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0655
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0429
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0276
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0175
                        }
                      ],
                      "others": 0.0162,
                      "total": 0.9064,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.080207
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.065506
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.042901
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.027635
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.017507
                        }
                      ],
                      "others_margin": 0.016249
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.9677653312683105,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0533
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0396
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0136
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0129
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0127
                        }
                      ],
                      "others": 0.0289,
                      "total": 6.9678,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.053275
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.039649
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.013639
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.012916
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.012722
                        }
                      ],
                      "others_margin": 0.028917
                    }
                  }
                ],
                "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.1275,
                "assist_rate": 0.0915,
                "assists": 0,
                "expected_goals": 0.1055,
                "goal_rate": 0.0856,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9678,
                "minutes": 79,
                "total_pass": 50,
                "accurate_pass": 42,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 65,
                "possession_lost": 13.1779,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 17,
                "total_progression": 31,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 2600000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0488)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1275,
                "assist_rate": 0.1051,
                "assists": 0,
                "expected_goals": 0.1055,
                "goal_rate": 0.0814,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9678,
                "minutes": 79,
                "total_pass": 50,
                "accurate_pass": 42,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 65,
                "possession_lost": 13.1779,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 17,
                "total_progression": 31,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 89.3,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": -0.75
              },
              "params": {
                "blend_weight": 0.0488,
                "history_matches": 7,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.2528
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0903
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0903
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "totalShots",
                  "before": 0.8894,
                  "after": 0.8641
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0915,
                  "after": 0.1051
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2449,
                  "after": 0.251
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.31)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0311,
                "assist_rate": 0.0257,
                "assists": 0,
                "expected_goals": 0.0258,
                "goal_rate": 0.0199,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.9678,
                "minutes": 22,
                "total_pass": 12,
                "accurate_pass": 10,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 3.2172,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 8,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 89.3,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.307,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "expected_minutes": 21.97,
                "appearance_probability": 0.307
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0311,
                "assist_rate": 0.0257,
                "assists": 0,
                "expected_goals": 0.0258,
                "goal_rate": 0.0199,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.9678,
                "minutes": 22,
                "total_pass": 12,
                "accurate_pass": 10,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 3.2172,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 8,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 89.3,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.307,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 2 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0311,
                "assist_rate": 0.0257,
                "assists": 0,
                "expected_goals": 0.0258,
                "goal_rate": 0.0199,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.9678,
                "minutes": 22,
                "total_pass": 12,
                "accurate_pass": 10,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 3.2172,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 8,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 89.3,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.307,
                "bench_expected_minutes": 21.97,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "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": 76.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3158,
                "fifa_rank": 1956.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Fran Pérez": {
          "player_id": 966637,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 21,
          "height": 176,
          "market_value": 2300000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0104,
            "assist_rate": 0.0141,
            "assists": 0,
            "expected_goals": 0.0245,
            "goal_rate": 0.015,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6916,
            "minutes": 22,
            "total_pass": 2,
            "accurate_pass": 1,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 0,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 3,
            "possession_lost": 0.9582,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 5,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.499,
            "bench_expected_minutes": 21.97,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.255,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0121,
            "projected_assists": 0,
            "assist_probability": 0.0052,
            "finishing_factor": 0.8737,
            "creation_factor": 1.0901,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 14,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0149,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 7,
                "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": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 20,
                "rating": 5.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 33,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0378,
                "expected_assists": 0.057,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 7,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 55,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0127,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7,
                "key_pass": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 20,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3900,
            "combined_rank_score": 1886.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 861.0,
            "sofascore_rating": 6.5621,
            "sofascore_appearances": 29.0,
            "fifa_rank": 2912.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6916,
            "source_file": "data/player_rankings.csv",
            "player_name": "Fran Pérez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gabriel Arias",
                  "ranking": 3895
                },
                {
                  "player_name": "Patrick Mainka",
                  "ranking": 3896
                },
                {
                  "player_name": "Matěj Vydra",
                  "ranking": 3897
                },
                {
                  "player_name": "Timon Wellenreuther",
                  "ranking": 3898
                },
                {
                  "player_name": "Jaroslav Zelený",
                  "ranking": 3899
                }
              ],
              "lower": [
                {
                  "player_name": "Jacobo Ramón",
                  "ranking": 3901
                },
                {
                  "player_name": "Enis Bardhi",
                  "ranking": 3902
                },
                {
                  "player_name": "Edwuin Cetré",
                  "ranking": 3903
                },
                {
                  "player_name": "Mattia Perin",
                  "ranking": 3904
                },
                {
                  "player_name": "Simon Sohm",
                  "ranking": 3905
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.562,
          "history_matches": 5,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 5,
            "data_confidence": 0.562,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "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 (5 historical appearances) to 22.0 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0367,
                "assist_rate": 0.0589,
                "assists": 0,
                "expected_goals": 0.1021,
                "goal_rate": 0.0628,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6916,
                "minutes": 28,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 4.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 22,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 14.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.2292,
                    "rating": 5.4
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.1948,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.1948,
                  "expectedAssists": 0.0181,
                  "creative_index": 0.0771,
                  "creative_efficiency": 0.0021,
                  "shotValueNormalized": -0.0156,
                  "dribbleValueNormalized": 0.1525
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5471405386924744,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.1587
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.1047
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0372
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0329
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0308
                        }
                      ],
                      "others": -0.0153,
                      "total": 0.5471,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.187836
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.146641
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.057797
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.054034
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.053368
                        }
                      ],
                      "others_margin": -0.027226
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03665260970592499,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.033
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.005
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0038
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0033
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0029
                        }
                      ],
                      "others": -0.0083,
                      "total": 0.0367,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.475958
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.096352
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.079896
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.076553
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.067309
                        }
                      ],
                      "others_margin": -0.20563
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05890032276511192,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0127
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0067
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0031
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0028
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0023
                        }
                      ],
                      "others": 0.0014,
                      "total": 0.0589,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.161856
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.096634
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.048775
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.045329
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.038406
                        }
                      ],
                      "others_margin": 0.022533
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10205825418233871,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0305
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0106
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0096
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0078
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0047
                        }
                      ],
                      "others": -0.0173,
                      "total": 0.1021,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.182647
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.072532
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.070041
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.060818
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.038576
                        }
                      ],
                      "others_margin": -0.157289
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06279841810464859,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0351
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0221
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0089
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0071
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0095,
                      "total": 0.0628,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.270778
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.217682
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.102655
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.090967
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.032354
                        }
                      ],
                      "others_margin": -0.142223
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.17268973588943481,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1228
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0185
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.01
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.007
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0054
                        }
                      ],
                      "others": -0.001,
                      "total": 0.1727,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.452402
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.090247
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.052399
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.038259
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.030615
                        }
                      ],
                      "others_margin": -0.005941
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5836897358894348,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2728
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0474
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0359
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0354
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0282
                        }
                      ],
                      "others": -0.0347,
                      "total": 0.5837,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.272841
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.047373
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.035946
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.035367
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.028243
                        }
                      ],
                      "others_margin": -0.03464
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.691629886627197,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0508
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0346
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0289
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0253
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0121
                        }
                      ],
                      "others": -0.0671,
                      "total": 6.6916,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.05081
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.034639
                        },
                        {
                          "name": "touches",
                          "margin": -0.028946
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.025302
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012057
                        }
                      ],
                      "others_margin": -0.066973
                    }
                  }
                ],
                "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.036,
                "assist_rate": 0.0578,
                "assists": 0,
                "expected_goals": 0.1001,
                "goal_rate": 0.0616,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6916,
                "minutes": 28,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 3.9249,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 22,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 2300000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0088,
                "assist_rate": 0.0141,
                "assists": 0,
                "expected_goals": 0.0244,
                "goal_rate": 0.015,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6916,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9582,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "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.0088,
                "assist_rate": 0.0141,
                "assists": 0,
                "expected_goals": 0.0244,
                "goal_rate": 0.015,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6916,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9582,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0104,
                "assist_rate": 0.0141,
                "assists": 0,
                "expected_goals": 0.0245,
                "goal_rate": 0.015,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6916,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9582,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8737,
                "creation_factor": 1.0901
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 0.499
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0104,
                "assist_rate": 0.0141,
                "assists": 0,
                "expected_goals": 0.0245,
                "goal_rate": 0.015,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6916,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9582,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8737,
                "creation_factor": 1.0901,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3900,
                "fifa_rank": 2912.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0104,
                "assist_rate": 0.0141,
                "assists": 0,
                "expected_goals": 0.0245,
                "goal_rate": 0.015,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6916,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9582,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0121,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8737,
                "creation_factor": 1.0901,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0121,
                "scorer_weight": 0.0107,
                "squad_weight_total": 1.0259,
                "weight_share": 0.0104,
                "finishing_factor": 0.8737,
                "appearance_weight": 0.499,
                "weight_rank": 10,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0104,
                "assist_rate": 0.0141,
                "assists": 0,
                "expected_goals": 0.0245,
                "goal_rate": 0.015,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6916,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9582,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0121,
                "projected_assists": 0,
                "assist_probability": 0.0052,
                "finishing_factor": 0.8737,
                "creation_factor": 1.0901,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0052,
                "provider_weight": 0.0057,
                "squad_weight_total": 0.7834,
                "weight_share": 0.0072,
                "creation_factor": 1.0901,
                "appearance_weight": 0.499,
                "weight_rank": 11,
                "eligible_players": 13
              }
            }
          ]
        },
        "Randy Nteka": {
          "player_id": 932764,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 190,
          "market_value": 1000000,
          "stats": {
            "expected_goals": 0.0974,
            "goal_rate": 0.0552,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0108,
            "key_pass": 0,
            "rating": 6.6592,
            "minutes": 36,
            "total_pass": 3,
            "accurate_pass": 2,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 1.4456,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.0,
            "minutesPct": 57.0,
            "pointsPerMatch": 0.33,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.591,
            "bench_expected_minutes": 36.13,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.255,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0548,
            "projected_assists": 0,
            "assist_probability": 0.0063,
            "finishing_factor": 0.8,
            "creation_factor": 0.846,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 15,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2493,
                "expected_assists": 0.0004,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 2,
                "accurate_pass": 2,
                "tackles": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 73,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0411,
                "expected_assists": 0.0091,
                "total_shots": 1,
                "total_pass": 15,
                "accurate_pass": 11,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 65,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5919,
                "expected_assists": 0.0031,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 5,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5112,
            "combined_rank_score": 3310.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 694.0,
            "sofascore_rating": 6.7077,
            "sofascore_appearances": 13.0,
            "fifa_rank": 5927.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6592,
            "source_file": "data/player_rankings.csv",
            "player_name": "Randy Nteka",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ilias Chair",
                  "ranking": 5107
                },
                {
                  "player_name": "Diego Sánchez",
                  "ranking": 5108
                },
                {
                  "player_name": "Martín Payero",
                  "ranking": 5109
                },
                {
                  "player_name": "Christoph Klarer",
                  "ranking": 5110
                },
                {
                  "player_name": "Nicolas Madsen",
                  "ranking": 5111
                }
              ],
              "lower": [
                {
                  "player_name": "Federico Gattoni",
                  "ranking": 5113
                },
                {
                  "player_name": "Callum Doyle",
                  "ranking": 5114
                },
                {
                  "player_name": "Caleb Taylor",
                  "ranking": 5115
                },
                {
                  "player_name": "Federico Redondo",
                  "ranking": 5116
                },
                {
                  "player_name": "Pablo",
                  "ranking": 5117
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.454,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.454,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 36.13,
            "bench_appearance_prob": 0.591,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 45.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.1133
            },
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 36.1 expected mins (appearance prob 0.59); FBref playing time empirical prior: 2.0 sub appearances, 45.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2467,
                "goal_rate": 0.1468,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.023,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 51,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 3.67,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 73.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.3887,
                  "totalShots": 1.0,
                  "minutesPlayed": 48.207,
                  "shotValueNormalized": -0.3454,
                  "accuratePass": 5.8163,
                  "expectedAssists": 0.004
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.24668128788471222,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0573
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0562
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0265
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0177
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.011
                        }
                      ],
                      "others": -0.0618,
                      "total": 0.2467,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": 0.146791
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.143605
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.075592
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.053993
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.035083
                        }
                      ],
                      "others_margin": -0.223712
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.14678546786308289,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0391
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0312
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0249
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0126
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": -0.0106
                        }
                      ],
                      "others": -0.0214,
                      "total": 0.1468,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.146595
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.134618
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.122331
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.067837
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": -0.060787
                        }
                      ],
                      "others_margin": -0.13702
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4492226839065552,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1255
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0822
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0603
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0241
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0198
                        }
                      ],
                      "others": -0.0403,
                      "total": 0.4492,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.239738
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.163246
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.117162
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.048542
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.039614
                        }
                      ],
                      "others_margin": -0.085851
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0839641094207764,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2024
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0969
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0727
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0637
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.042
                        }
                      ],
                      "others": -0.0189,
                      "total": 1.084,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.202449
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.096885
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.07275
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.063665
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.041964
                        }
                      ],
                      "others_margin": -0.019017
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.023036861792206764,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0207
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0053
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0027
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0017
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0015
                        }
                      ],
                      "others": -0.0051,
                      "total": 0.023,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.422735
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.144038
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.082923
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.054545
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.053438
                        }
                      ],
                      "others_margin": -0.200357
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.2931688725948334,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.2549
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0437
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0305
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0226
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0152
                        }
                      ],
                      "others": -0.0633,
                      "total": 0.2932,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.471303
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.108962
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.083824
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.062779
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.041675
                        }
                      ],
                      "others_margin": -0.195738
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.659236431121826,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0352
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0325
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0297
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0263
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.023
                        }
                      ],
                      "others": -0.0685,
                      "total": 6.6592,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.035151
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.03251
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.029687
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.026344
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.023017
                        }
                      ],
                      "others_margin": -0.06839
                    }
                  }
                ],
                "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.2421,
                "goal_rate": 0.144,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0226,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 51,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 3.6011,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 1000000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0460)",
              "stats": {
                "expected_goals": 0.2421,
                "goal_rate": 0.1374,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0226,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 51,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 3.6011,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": -0.58
              },
              "params": {
                "blend_weight": 0.046,
                "history_matches": 3,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0812
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "totalShots",
                  "before": 1.0636,
                  "after": 1.0952
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "goals",
                  "before": 0.144,
                  "after": 0.1374
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4408,
                  "after": 0.4472
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 36.1 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0972,
                "goal_rate": 0.0552,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0091,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13
              },
              "params": {
                "expected_minutes": 36.13,
                "appearance_probability": 0.591
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0972,
                "goal_rate": 0.0552,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0091,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0974,
                "goal_rate": 0.0552,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0108,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.846
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 0.591
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 70.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0974,
                "goal_rate": 0.0552,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0108,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.846,
                "fifa_overall": 70.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5112,
                "fifa_rank": 5927.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 70.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0974,
                "goal_rate": 0.0552,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0108,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0548,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.846,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0548,
                "scorer_weight": 0.0461,
                "squad_weight_total": 1.0259,
                "weight_share": 0.0449,
                "finishing_factor": 0.8,
                "appearance_weight": 0.591,
                "weight_rank": 7,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0974,
                "goal_rate": 0.0552,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0108,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0548,
                "projected_assists": 0,
                "assist_probability": 0.0063,
                "finishing_factor": 0.8,
                "creation_factor": 0.846,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0063,
                "provider_weight": 0.0054,
                "squad_weight_total": 0.7834,
                "weight_share": 0.0069,
                "creation_factor": 0.846,
                "appearance_weight": 0.591,
                "weight_rank": 12,
                "eligible_players": 13
              }
            }
          ]
        },
        "Raúl de Tomás": {
          "player_id": 138387,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 181,
          "market_value": 440000,
          "stats": {
            "expected_goals": 0.0637,
            "goal_rate": 0.0393,
            "goals": 0,
            "total_shots": 1,
            "shots_on_target": 0,
            "expected_assists": 0.027,
            "duels_won": 1,
            "aerial_won": 0,
            "rating": 6.9,
            "minutes": 25,
            "total_pass": 8,
            "accurate_pass": 6,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 2.2763,
            "dispossessed": 1.0,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0197,
            "assists": 0,
            "shots_off_target": 0,
            "key_pass": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0482,
            "offsides": 1,
            "ball_carries": 5,
            "total_progression": 13,
            "progressive_carries": 1,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.255,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0345,
            "projected_assists": 0,
            "assist_probability": 0.0149,
            "finishing_factor": 0.8,
            "creation_factor": 0.9574,
            "fifa_overall": 72.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 4233,
            "combined_rank_score": 2256.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 4247.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Raúl de Tomás",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jon Gorenc Stanković",
                  "ranking": 4228
                },
                {
                  "player_name": "Grégoire Coudert",
                  "ranking": 4229
                },
                {
                  "player_name": "Veljko Milosavljević",
                  "ranking": 4230
                },
                {
                  "player_name": "Harrison Reed",
                  "ranking": 4231
                },
                {
                  "player_name": "Mark McKenzie",
                  "ranking": 4232
                }
              ],
              "lower": [
                {
                  "player_name": "Romain Faivre",
                  "ranking": 4234
                },
                {
                  "player_name": "Matt Targett",
                  "ranking": 4235
                },
                {
                  "player_name": "Matías Arezo",
                  "ranking": 4236
                },
                {
                  "player_name": "Montassar Talbi",
                  "ranking": 4237
                },
                {
                  "player_name": "Dani Lorenzo",
                  "ranking": 4238
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "F_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€440,000) scaled to 25.3 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position F (quality 0.44)",
              "stats": {
                "expected_goals": 0.226,
                "goal_rate": 0.14,
                "goals": 0,
                "total_shots": 2,
                "shots_on_target": 1,
                "expected_assists": 0.081,
                "duels_won": 4,
                "aerial_won": 1,
                "rating": 6.9,
                "minutes": 90,
                "total_pass": 28,
                "accurate_pass": 20,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 41,
                "possession_lost": 8.1,
                "dispossessed": 1.0,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 5,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "assist_rate": 0.07,
                "assists": 0,
                "shots_off_target": 1,
                "key_pass": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.171,
                "offsides": 1,
                "ball_carries": 19,
                "total_progression": 47,
                "progressive_carries": 5
              },
              "params": {
                "market_value_eur": 440000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0228,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0481,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0228,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0481,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0637,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.027,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0482,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 72.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0637,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.027,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0482,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4233,
                "fifa_rank": 4247.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0637,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.027,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0482,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0345,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0345,
                "scorer_weight": 0.0285,
                "squad_weight_total": 1.0259,
                "weight_share": 0.0278,
                "finishing_factor": 0.8,
                "appearance_weight": 0.559,
                "weight_rank": 8,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0637,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.027,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0482,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0345,
                "projected_assists": 0,
                "assist_probability": 0.0149,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0149,
                "provider_weight": 0.0145,
                "squad_weight_total": 0.7834,
                "weight_share": 0.0184,
                "creation_factor": 0.9574,
                "appearance_weight": 0.559,
                "weight_rank": 10,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "substitutes": {
        "Randy Nteka": {
          "player_id": 932764,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 190,
          "market_value": 1000000,
          "stats": {
            "expected_goals": 0.0974,
            "goal_rate": 0.0552,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0108,
            "key_pass": 0,
            "rating": 6.6592,
            "minutes": 36,
            "total_pass": 3,
            "accurate_pass": 2,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 1.4456,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.0,
            "minutesPct": 57.0,
            "pointsPerMatch": 0.33,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.591,
            "bench_expected_minutes": 36.13,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.255,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0548,
            "projected_assists": 0,
            "assist_probability": 0.0063,
            "finishing_factor": 0.8,
            "creation_factor": 0.846,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 15,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2493,
                "expected_assists": 0.0004,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 2,
                "accurate_pass": 2,
                "tackles": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 73,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0411,
                "expected_assists": 0.0091,
                "total_shots": 1,
                "total_pass": 15,
                "accurate_pass": 11,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 65,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5919,
                "expected_assists": 0.0031,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 5,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5112,
            "combined_rank_score": 3310.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 694.0,
            "sofascore_rating": 6.7077,
            "sofascore_appearances": 13.0,
            "fifa_rank": 5927.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6592,
            "source_file": "data/player_rankings.csv",
            "player_name": "Randy Nteka",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ilias Chair",
                  "ranking": 5107
                },
                {
                  "player_name": "Diego Sánchez",
                  "ranking": 5108
                },
                {
                  "player_name": "Martín Payero",
                  "ranking": 5109
                },
                {
                  "player_name": "Christoph Klarer",
                  "ranking": 5110
                },
                {
                  "player_name": "Nicolas Madsen",
                  "ranking": 5111
                }
              ],
              "lower": [
                {
                  "player_name": "Federico Gattoni",
                  "ranking": 5113
                },
                {
                  "player_name": "Callum Doyle",
                  "ranking": 5114
                },
                {
                  "player_name": "Caleb Taylor",
                  "ranking": 5115
                },
                {
                  "player_name": "Federico Redondo",
                  "ranking": 5116
                },
                {
                  "player_name": "Pablo",
                  "ranking": 5117
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.454,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.454,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 36.13,
            "bench_appearance_prob": 0.591,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 45.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.1133
            },
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 36.1 expected mins (appearance prob 0.59); FBref playing time empirical prior: 2.0 sub appearances, 45.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2467,
                "goal_rate": 0.1468,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.023,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 51,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 3.67,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 73.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.3887,
                  "totalShots": 1.0,
                  "minutesPlayed": 48.207,
                  "shotValueNormalized": -0.3454,
                  "accuratePass": 5.8163,
                  "expectedAssists": 0.004
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.24668128788471222,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0573
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0562
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0265
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0177
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.011
                        }
                      ],
                      "others": -0.0618,
                      "total": 0.2467,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": 0.146791
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.143605
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.075592
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.053993
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.035083
                        }
                      ],
                      "others_margin": -0.223712
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.14678546786308289,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0391
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0312
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0249
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0126
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": -0.0106
                        }
                      ],
                      "others": -0.0214,
                      "total": 0.1468,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.146595
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.134618
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.122331
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.067837
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": -0.060787
                        }
                      ],
                      "others_margin": -0.13702
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4492226839065552,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1255
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0822
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0603
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0241
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0198
                        }
                      ],
                      "others": -0.0403,
                      "total": 0.4492,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.239738
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.163246
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.117162
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.048542
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.039614
                        }
                      ],
                      "others_margin": -0.085851
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0839641094207764,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2024
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0969
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0727
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0637
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.042
                        }
                      ],
                      "others": -0.0189,
                      "total": 1.084,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.202449
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.096885
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.07275
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.063665
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.041964
                        }
                      ],
                      "others_margin": -0.019017
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.023036861792206764,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0207
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0053
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0027
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0017
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0015
                        }
                      ],
                      "others": -0.0051,
                      "total": 0.023,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.422735
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.144038
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.082923
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.054545
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.053438
                        }
                      ],
                      "others_margin": -0.200357
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.2931688725948334,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.2549
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0437
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0305
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0226
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0152
                        }
                      ],
                      "others": -0.0633,
                      "total": 0.2932,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.471303
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.108962
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.083824
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.062779
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.041675
                        }
                      ],
                      "others_margin": -0.195738
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.659236431121826,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0352
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0325
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0297
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0263
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.023
                        }
                      ],
                      "others": -0.0685,
                      "total": 6.6592,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.035151
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.03251
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.029687
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.026344
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.023017
                        }
                      ],
                      "others_margin": -0.06839
                    }
                  }
                ],
                "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.2421,
                "goal_rate": 0.144,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0226,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 51,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 3.6011,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 1000000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0460)",
              "stats": {
                "expected_goals": 0.2421,
                "goal_rate": 0.1374,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0226,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 51,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 3.6011,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": -0.58
              },
              "params": {
                "blend_weight": 0.046,
                "history_matches": 3,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0812
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "totalShots",
                  "before": 1.0636,
                  "after": 1.0952
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "goals",
                  "before": 0.144,
                  "after": 0.1374
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4408,
                  "after": 0.4472
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 36.1 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0972,
                "goal_rate": 0.0552,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0091,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13
              },
              "params": {
                "expected_minutes": 36.13,
                "appearance_probability": 0.591
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0972,
                "goal_rate": 0.0552,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0091,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0974,
                "goal_rate": 0.0552,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0108,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.846
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 0.591
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 70.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0974,
                "goal_rate": 0.0552,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0108,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.846,
                "fifa_overall": 70.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5112,
                "fifa_rank": 5927.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 70.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0974,
                "goal_rate": 0.0552,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0108,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0548,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.846,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0548,
                "scorer_weight": 0.0461,
                "squad_weight_total": 1.0259,
                "weight_share": 0.0449,
                "finishing_factor": 0.8,
                "appearance_weight": 0.591,
                "weight_rank": 7,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0974,
                "goal_rate": 0.0552,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0108,
                "key_pass": 0,
                "rating": 6.6592,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0548,
                "projected_assists": 0,
                "assist_probability": 0.0063,
                "finishing_factor": 0.8,
                "creation_factor": 0.846,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0063,
                "provider_weight": 0.0054,
                "squad_weight_total": 0.7834,
                "weight_share": 0.0069,
                "creation_factor": 0.846,
                "appearance_weight": 0.591,
                "weight_rank": 12,
                "eligible_players": 13
              }
            }
          ]
        },
        "Raúl de Tomás": {
          "player_id": 138387,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 181,
          "market_value": 440000,
          "stats": {
            "expected_goals": 0.0637,
            "goal_rate": 0.0393,
            "goals": 0,
            "total_shots": 1,
            "shots_on_target": 0,
            "expected_assists": 0.027,
            "duels_won": 1,
            "aerial_won": 0,
            "rating": 6.9,
            "minutes": 25,
            "total_pass": 8,
            "accurate_pass": 6,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 2.2763,
            "dispossessed": 1.0,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0197,
            "assists": 0,
            "shots_off_target": 0,
            "key_pass": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0482,
            "offsides": 1,
            "ball_carries": 5,
            "total_progression": 13,
            "progressive_carries": 1,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.255,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0345,
            "projected_assists": 0,
            "assist_probability": 0.0149,
            "finishing_factor": 0.8,
            "creation_factor": 0.9574,
            "fifa_overall": 72.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 4233,
            "combined_rank_score": 2256.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 4247.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Raúl de Tomás",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jon Gorenc Stanković",
                  "ranking": 4228
                },
                {
                  "player_name": "Grégoire Coudert",
                  "ranking": 4229
                },
                {
                  "player_name": "Veljko Milosavljević",
                  "ranking": 4230
                },
                {
                  "player_name": "Harrison Reed",
                  "ranking": 4231
                },
                {
                  "player_name": "Mark McKenzie",
                  "ranking": 4232
                }
              ],
              "lower": [
                {
                  "player_name": "Romain Faivre",
                  "ranking": 4234
                },
                {
                  "player_name": "Matt Targett",
                  "ranking": 4235
                },
                {
                  "player_name": "Matías Arezo",
                  "ranking": 4236
                },
                {
                  "player_name": "Montassar Talbi",
                  "ranking": 4237
                },
                {
                  "player_name": "Dani Lorenzo",
                  "ranking": 4238
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "F_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€440,000) scaled to 25.3 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position F (quality 0.44)",
              "stats": {
                "expected_goals": 0.226,
                "goal_rate": 0.14,
                "goals": 0,
                "total_shots": 2,
                "shots_on_target": 1,
                "expected_assists": 0.081,
                "duels_won": 4,
                "aerial_won": 1,
                "rating": 6.9,
                "minutes": 90,
                "total_pass": 28,
                "accurate_pass": 20,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 41,
                "possession_lost": 8.1,
                "dispossessed": 1.0,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 5,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "assist_rate": 0.07,
                "assists": 0,
                "shots_off_target": 1,
                "key_pass": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.171,
                "offsides": 1,
                "ball_carries": 19,
                "total_progression": 47,
                "progressive_carries": 5
              },
              "params": {
                "market_value_eur": 440000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0228,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0481,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0228,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0481,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0637,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.027,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0482,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 72.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0637,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.027,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0482,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4233,
                "fifa_rank": 4247.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0637,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.027,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0482,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0345,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0345,
                "scorer_weight": 0.0285,
                "squad_weight_total": 1.0259,
                "weight_share": 0.0278,
                "finishing_factor": 0.8,
                "appearance_weight": 0.559,
                "weight_rank": 8,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0637,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.027,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0482,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0345,
                "projected_assists": 0,
                "assist_probability": 0.0149,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0149,
                "provider_weight": 0.0145,
                "squad_weight_total": 0.7834,
                "weight_share": 0.0184,
                "creation_factor": 0.9574,
                "appearance_weight": 0.559,
                "weight_rank": 10,
                "eligible_players": 13
              }
            }
          ]
        },
        "Fran Pérez": {
          "player_id": 966637,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 21,
          "height": 176,
          "market_value": 2300000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0104,
            "assist_rate": 0.0141,
            "assists": 0,
            "expected_goals": 0.0245,
            "goal_rate": 0.015,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6916,
            "minutes": 22,
            "total_pass": 2,
            "accurate_pass": 1,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 0,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 3,
            "possession_lost": 0.9582,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 5,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.499,
            "bench_expected_minutes": 21.97,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.255,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0121,
            "projected_assists": 0,
            "assist_probability": 0.0052,
            "finishing_factor": 0.8737,
            "creation_factor": 1.0901,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 14,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0149,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 7,
                "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": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 20,
                "rating": 5.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 33,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0378,
                "expected_assists": 0.057,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 7,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 55,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0127,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7,
                "key_pass": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 20,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3900,
            "combined_rank_score": 1886.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 861.0,
            "sofascore_rating": 6.5621,
            "sofascore_appearances": 29.0,
            "fifa_rank": 2912.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6916,
            "source_file": "data/player_rankings.csv",
            "player_name": "Fran Pérez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gabriel Arias",
                  "ranking": 3895
                },
                {
                  "player_name": "Patrick Mainka",
                  "ranking": 3896
                },
                {
                  "player_name": "Matěj Vydra",
                  "ranking": 3897
                },
                {
                  "player_name": "Timon Wellenreuther",
                  "ranking": 3898
                },
                {
                  "player_name": "Jaroslav Zelený",
                  "ranking": 3899
                }
              ],
              "lower": [
                {
                  "player_name": "Jacobo Ramón",
                  "ranking": 3901
                },
                {
                  "player_name": "Enis Bardhi",
                  "ranking": 3902
                },
                {
                  "player_name": "Edwuin Cetré",
                  "ranking": 3903
                },
                {
                  "player_name": "Mattia Perin",
                  "ranking": 3904
                },
                {
                  "player_name": "Simon Sohm",
                  "ranking": 3905
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.562,
          "history_matches": 5,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 5,
            "data_confidence": 0.562,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "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 (5 historical appearances) to 22.0 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0367,
                "assist_rate": 0.0589,
                "assists": 0,
                "expected_goals": 0.1021,
                "goal_rate": 0.0628,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6916,
                "minutes": 28,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 4.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 22,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 14.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.2292,
                    "rating": 5.4
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.1948,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.1948,
                  "expectedAssists": 0.0181,
                  "creative_index": 0.0771,
                  "creative_efficiency": 0.0021,
                  "shotValueNormalized": -0.0156,
                  "dribbleValueNormalized": 0.1525
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5471405386924744,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.1587
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.1047
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0372
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0329
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0308
                        }
                      ],
                      "others": -0.0153,
                      "total": 0.5471,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.187836
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.146641
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.057797
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.054034
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.053368
                        }
                      ],
                      "others_margin": -0.027226
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03665260970592499,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.033
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.005
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0038
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0033
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0029
                        }
                      ],
                      "others": -0.0083,
                      "total": 0.0367,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.475958
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.096352
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.079896
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.076553
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.067309
                        }
                      ],
                      "others_margin": -0.20563
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05890032276511192,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0127
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0067
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0031
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0028
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0023
                        }
                      ],
                      "others": 0.0014,
                      "total": 0.0589,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.161856
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.096634
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.048775
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.045329
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.038406
                        }
                      ],
                      "others_margin": 0.022533
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10205825418233871,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0305
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0106
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0096
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0078
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0047
                        }
                      ],
                      "others": -0.0173,
                      "total": 0.1021,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.182647
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.072532
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.070041
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.060818
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.038576
                        }
                      ],
                      "others_margin": -0.157289
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06279841810464859,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0351
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0221
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0089
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0071
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0095,
                      "total": 0.0628,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.270778
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.217682
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.102655
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.090967
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.032354
                        }
                      ],
                      "others_margin": -0.142223
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.17268973588943481,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1228
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0185
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.01
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.007
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0054
                        }
                      ],
                      "others": -0.001,
                      "total": 0.1727,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.452402
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.090247
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.052399
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.038259
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.030615
                        }
                      ],
                      "others_margin": -0.005941
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5836897358894348,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2728
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0474
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0359
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0354
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0282
                        }
                      ],
                      "others": -0.0347,
                      "total": 0.5837,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.272841
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.047373
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.035946
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.035367
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.028243
                        }
                      ],
                      "others_margin": -0.03464
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.691629886627197,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0508
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0346
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0289
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0253
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0121
                        }
                      ],
                      "others": -0.0671,
                      "total": 6.6916,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.05081
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.034639
                        },
                        {
                          "name": "touches",
                          "margin": -0.028946
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.025302
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012057
                        }
                      ],
                      "others_margin": -0.066973
                    }
                  }
                ],
                "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.036,
                "assist_rate": 0.0578,
                "assists": 0,
                "expected_goals": 0.1001,
                "goal_rate": 0.0616,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6916,
                "minutes": 28,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 3.9249,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 22,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 2300000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0088,
                "assist_rate": 0.0141,
                "assists": 0,
                "expected_goals": 0.0244,
                "goal_rate": 0.015,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6916,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9582,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "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.0088,
                "assist_rate": 0.0141,
                "assists": 0,
                "expected_goals": 0.0244,
                "goal_rate": 0.015,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6916,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9582,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.08 (squad xG sum 1.0794, xG scale 1.0024, xA scale 1.1832, team xA 0.70 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0104,
                "assist_rate": 0.0141,
                "assists": 0,
                "expected_goals": 0.0245,
                "goal_rate": 0.015,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6916,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9582,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8737,
                "creation_factor": 1.0901
              },
              "params": {
                "team_lambda": 1.082,
                "squad_xg_sum": 1.0794,
                "squad_xa_sum": 0.5944,
                "team_expected_assists": 0.7033,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0024,
                "xa_scale": 1.1832,
                "opponent_lambda": 1.73,
                "scoreline_reset": true,
                "appearance_weight": 0.499
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0104,
                "assist_rate": 0.0141,
                "assists": 0,
                "expected_goals": 0.0245,
                "goal_rate": 0.015,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6916,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9582,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8737,
                "creation_factor": 1.0901,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3900,
                "fifa_rank": 2912.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0104,
                "assist_rate": 0.0141,
                "assists": 0,
                "expected_goals": 0.0245,
                "goal_rate": 0.015,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6916,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9582,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0121,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8737,
                "creation_factor": 1.0901,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0121,
                "scorer_weight": 0.0107,
                "squad_weight_total": 1.0259,
                "weight_share": 0.0104,
                "finishing_factor": 0.8737,
                "appearance_weight": 0.499,
                "weight_rank": 10,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0104,
                "assist_rate": 0.0141,
                "assists": 0,
                "expected_goals": 0.0245,
                "goal_rate": 0.015,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6916,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.9582,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0121,
                "projected_assists": 0,
                "assist_probability": 0.0052,
                "finishing_factor": 0.8737,
                "creation_factor": 1.0901,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0052,
                "provider_weight": 0.0057,
                "squad_weight_total": 0.7834,
                "weight_share": 0.0072,
                "creation_factor": 1.0901,
                "appearance_weight": 0.499,
                "weight_rank": 11,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 0,
        "expected_goals": 1.08,
        "expected_assists": 0.7,
        "total_shots": 10,
        "shots_on_target": 1,
        "total_passes": 252,
        "interceptions": 5,
        "tackles": 8,
        "avg_rating": 6.77,
        "possession_estimated_pct": 46.7,
        "pressing_actions_per_90": 6.0
      }
    },
    "Athletic Club": {
      "formation": "4-2-3-1",
      "players": {
        "Unai Simón": {
          "player_id": 797291,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 189,
          "market_value": 21000000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.2888,
            "rating": 7.5932,
            "minutes": 90,
            "total_pass": 38,
            "accurate_pass": 27,
            "duels_won": 0,
            "total_long_balls": 17,
            "accurate_long_balls": 7,
            "touches": 51,
            "clearances": 0,
            "ball_recovery": 10,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 10.4223,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 27,
            "accurate_own_half_passes": 24,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "total_shots": 0,
            "shots_on_target": 0,
            "goalsAgainst": 1.67,
            "shotsOnTargetAgainst": 5.6667,
            "cleanSheets": 0.3333,
            "interceptions": 0,
            "tackles_won": 0,
            "crosses_total": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "penaltySave": 0.0,
            "ownGoals": 0.0,
            "savePct": 70.6,
            "cleanSheetPct": 33.3,
            "minutesPct": 100.0,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "gk_engine_opponent_lambda": 1.0823,
            "shots_faced": 10.3,
            "expected_saves": 2.52,
            "high_pressure_saves": 0.87,
            "opponent_faced": "Sergio Camello, Jorge de Frutos",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 85.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 21,
                "clearances": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322.0,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 28,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 9,
                "goals_prevented": -0.1346
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 8.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 34,
                "clearances": 2,
                "ball_recovery": 14,
                "saves": 5,
                "goals_prevented": 1.2353
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308.0,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 22,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 7,
                "saves": 2,
                "goals_prevented": 0.3212
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 9.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 23,
                "clearances": 3,
                "ball_recovery": 14,
                "saves": 8,
                "goals_prevented": 1.8497
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 4.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0116,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 29,
                "clearances": 1,
                "ball_recovery": 7,
                "saves": 2,
                "goals_prevented": -1.3506
              },
              "has_player_stats": true,
              "league_name": "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": 323,
            "combined_rank_score": 218.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 278.0,
            "sofascore_rating": 7.0667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 158.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.5932,
            "source_file": "data/player_rankings.csv",
            "player_name": "Unai Simón",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bryan Mbeumo",
                  "ranking": 318
                },
                {
                  "player_name": "Sandzhar Kuvvatov",
                  "ranking": 319
                },
                {
                  "player_name": "Jon Ander Olasagasti",
                  "ranking": 320
                },
                {
                  "player_name": "Mario Rivas",
                  "ranking": 321
                },
                {
                  "player_name": "Nico Paz",
                  "ranking": 322
                }
              ],
              "lower": [
                {
                  "player_name": "Aleksandre Andronikashvili",
                  "ranking": 324
                },
                {
                  "player_name": "Javier Correa",
                  "ranking": 325
                },
                {
                  "player_name": "Alejandro Santander",
                  "ranking": 326
                },
                {
                  "player_name": "Diego Murillo",
                  "ranking": 327
                },
                {
                  "player_name": "Boubacar Kamara",
                  "ranking": 328
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.655,
          "history_matches": 6,
          "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": 6,
            "data_confidence": 0.655,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0422,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (G_service) evaluated 6 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.2771,
                "rating": 7.5932,
                "minutes": 90,
                "total_pass": 36,
                "accurate_pass": 26,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 7,
                "touches": 49,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 23
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 4,
                  "trained_at": "2026-09-29T10:01:45.250339+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 135,
                    "rows": 3738
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 8.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 9.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 4.5
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "save_contribution": 2.7083,
                  "goalkeeperValueNormalized": 0.2221,
                  "sweeper_actions_p90": 1.6118,
                  "possessionLostCtrl": 8.5803,
                  "accurateKeeperSweeper": 1.2899,
                  "accurateLongBalls": 6.1825
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 3.278827667236328,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0645
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0523
                      },
                      {
                        "name": "saves",
                        "importance": 0.0514
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0475
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0445
                      }
                    ],
                    "decomposition": {
                      "base": 2.9861,
                      "items": [
                        {
                          "name": "distribution_accuracy",
                          "contribution": 0.0848
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0833
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.0691
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.067
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0571
                        }
                      ],
                      "others": 0.0654,
                      "total": 3.2788,
                      "log_link": true,
                      "margin_base": 1.093963,
                      "item_margins": [
                        {
                          "name": "distribution_accuracy",
                          "margin": 0.028017
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.026778
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": 0.021681
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.020994
                        },
                        {
                          "name": "saves",
                          "margin": 0.01793
                        }
                      ],
                      "others_margin": 0.020111
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.2770513594150543,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0582
                      },
                      {
                        "name": "punches",
                        "importance": 0.0515
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.051
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0478
                      },
                      {
                        "name": "touches",
                        "importance": 0.043
                      }
                    ],
                    "decomposition": {
                      "base": -0.0455,
                      "items": [
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.1008
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0618
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0448
                        },
                        {
                          "name": "save_contribution",
                          "contribution": -0.0427
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0292
                        }
                      ],
                      "others": 0.1871,
                      "total": 0.2771,
                      "log_link": false,
                      "margin_base": -0.045465,
                      "item_margins": [
                        {
                          "name": "sweeper_actions_p90",
                          "margin": 0.100776
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.061846
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.044846
                        },
                        {
                          "name": "save_contribution",
                          "margin": -0.042724
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.029196
                        }
                      ],
                      "others_margin": 0.186968
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.593220233917236,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.075
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0537
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0529
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0478
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 7.0878,
                      "items": [
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.1044
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0657
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0604
                        },
                        {
                          "name": "save_contribution",
                          "contribution": -0.0494
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0455
                        }
                      ],
                      "others": 0.2788,
                      "total": 7.5932,
                      "log_link": false,
                      "margin_base": 7.087778,
                      "item_margins": [
                        {
                          "name": "sweeper_actions_p90",
                          "margin": 0.104421
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.065725
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.06042
                        },
                        {
                          "name": "save_contribution",
                          "margin": -0.049366
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.045502
                        }
                      ],
                      "others_margin": 0.278741
                    }
                  }
                ],
                "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.0422, quality 0.641)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.2888,
                "rating": 7.5932,
                "minutes": 90,
                "total_pass": 38,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 51,
                "clearances": 0,
                "ball_recovery": 10,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4223,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 24
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.0422
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0591)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.2888,
                "rating": 7.5932,
                "minutes": 90,
                "total_pass": 38,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 51,
                "clearances": 0,
                "ball_recovery": 10,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4223,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 24,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.6667,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 70.6,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": -0.67
              },
              "params": {
                "blend_weight": 0.0591,
                "history_matches": 6,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 3.4173,
                  "after": 3.4517
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.2888,
                "rating": 7.5932,
                "minutes": 90,
                "total_pass": 38,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 51,
                "clearances": 0,
                "ball_recovery": 10,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4223,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 24,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.6667,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 70.6,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.2888,
                "rating": 7.5932,
                "minutes": 90,
                "total_pass": 38,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 51,
                "clearances": 0,
                "ball_recovery": 10,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4223,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 24,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.6667,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 70.6,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "gk_engine_opponent_lambda": 1.0823,
                "shots_faced": 10.3,
                "expected_saves": 2.52,
                "high_pressure_saves": 0.87,
                "opponent_faced": "Sergio Camello, Jorge de Frutos",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Sergio Camello, Jorge de Frutos",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.0823
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.2888,
                "rating": 7.5932,
                "minutes": 90,
                "total_pass": 38,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 51,
                "clearances": 0,
                "ball_recovery": 10,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4223,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 24,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.6667,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 70.6,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "gk_engine_opponent_lambda": 1.0823,
                "shots_faced": 10.3,
                "expected_saves": 2.52,
                "high_pressure_saves": 0.87,
                "opponent_faced": "Sergio Camello, Jorge de Frutos",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 1 by projected rating, fifa_overall 85.0; not used by the projection)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.2888,
                "rating": 7.5932,
                "minutes": 90,
                "total_pass": 38,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 51,
                "clearances": 0,
                "ball_recovery": 10,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4223,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 24,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.6667,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 70.6,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "gk_engine_opponent_lambda": 1.0823,
                "shots_faced": 10.3,
                "expected_saves": 2.52,
                "high_pressure_saves": 0.87,
                "opponent_faced": "Sergio Camello, Jorge de Frutos",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 323,
                "fifa_rank": 158.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 85.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.2888,
                "rating": 7.5932,
                "minutes": 90,
                "total_pass": 38,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 51,
                "clearances": 0,
                "ball_recovery": 10,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4223,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 24,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.6667,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 70.6,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "gk_engine_opponent_lambda": 1.0823,
                "shots_faced": 10.3,
                "expected_saves": 2.52,
                "high_pressure_saves": 0.87,
                "opponent_faced": "Sergio Camello, Jorge de Frutos",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.5788,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.2888,
                "rating": 7.5932,
                "minutes": 90,
                "total_pass": 38,
                "accurate_pass": 27,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 51,
                "clearances": 0,
                "ball_recovery": 10,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4223,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 24,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.6667,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 70.6,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "gk_engine_opponent_lambda": 1.0823,
                "shots_faced": 10.3,
                "expected_saves": 2.52,
                "high_pressure_saves": 0.87,
                "opponent_faced": "Sergio Camello, Jorge de Frutos",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 1.0264,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Dani Vivian": {
          "player_id": 910978,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 3,
          "height": 183,
          "market_value": 18200000,
          "stats": {
            "interceptions": 2,
            "tackles": 3,
            "tackles_won": 2,
            "clearances": 3,
            "aerial_won": 3,
            "duels_won": 6,
            "total_pass": 48,
            "accurate_pass": 38,
            "expected_goals": 0.0267,
            "rating": 7.1,
            "minutes": 90,
            "total_long_balls": 6,
            "accurate_long_balls": 3,
            "total_own_half_passes": 30,
            "accurate_own_half_passes": 24,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 8,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 63,
            "possession_lost": 7.1,
            "dispossessed": 0.5,
            "duels_lost": 4,
            "aerial_lost": 2,
            "total_contest": 4,
            "won_contest": 2,
            "ball_recovery": 6,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.05,
            "assists": 0,
            "expected_assists": 0.0828,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.02,
            "key_pass": 1,
            "ball_carries": 22,
            "total_progression": 67,
            "progressive_carries": 5,
            "tackles_in_zone": 2.1,
            "tackles_won_in_zone": 1.8,
            "interceptions_in_zone": 1.0,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.654,
            "opponent_faced": "Sergio Camello",
            "pressing_zone": "Right Wing vs Left Back — Flank Battle",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0263,
            "projected_assists": 0,
            "assist_probability": 0.0795,
            "finishing_factor": 0.8,
            "creation_factor": 0.9174,
            "fifa_overall": 78.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 2014,
            "combined_rank_score": 938.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 766.0,
            "sofascore_rating": 6.6484,
            "sofascore_appearances": 31.0,
            "fifa_rank": 1110.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Vivian",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Egor Khvalko",
                  "ranking": 2009
                },
                {
                  "player_name": "Vladislav Malkevich",
                  "ranking": 2010
                },
                {
                  "player_name": "Ayoub El Kaabi",
                  "ranking": 2011
                },
                {
                  "player_name": "Viktor Tsygankov",
                  "ranking": 2012
                },
                {
                  "player_name": "Brennan Johnson",
                  "ranking": 2013
                }
              ],
              "lower": [
                {
                  "player_name": "Joaquín Larrivey",
                  "ranking": 2015
                },
                {
                  "player_name": "Dominik Livaković",
                  "ranking": 2016
                },
                {
                  "player_name": "Alexander Nübel",
                  "ranking": 2017
                },
                {
                  "player_name": "Domingos Duarte",
                  "ranking": 2018
                },
                {
                  "player_name": "Davide Frattesi",
                  "ranking": 2019
                }
              ]
            }
          },
          "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.613,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€18,200,000) applied for position D (quality factor 0.61)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.61)",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 6,
                "total_pass": 48,
                "accurate_pass": 38,
                "expected_goals": 0.02,
                "rating": 7.1,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 63,
                "possession_lost": 7.1,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 6,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.05,
                "assists": 0,
                "expected_assists": 0.059,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.015,
                "key_pass": 1,
                "ball_carries": 22,
                "total_progression": 67,
                "progressive_carries": 5
              },
              "params": {
                "market_value_eur": 18200000,
                "quality_factor": 0.613
              }
            },
            {
              "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": 3,
                "duels_won": 6,
                "total_pass": 48,
                "accurate_pass": 38,
                "expected_goals": 0.02,
                "rating": 7.1,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 63,
                "possession_lost": 7.1,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 6,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.05,
                "assists": 0,
                "expected_assists": 0.059,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.015,
                "key_pass": 1,
                "ball_carries": 22,
                "total_progression": 67,
                "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": 3,
                "duels_won": 6,
                "total_pass": 48,
                "accurate_pass": 38,
                "expected_goals": 0.02,
                "rating": 7.1,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 63,
                "possession_lost": 7.1,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 6,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.05,
                "assists": 0,
                "expected_assists": 0.059,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.015,
                "key_pass": 1,
                "ball_carries": 22,
                "total_progression": 67,
                "progressive_carries": 5,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.654,
                "opponent_faced": "Sergio Camello",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Sergio Camello",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 6,
                "total_pass": 48,
                "accurate_pass": 38,
                "expected_goals": 0.0267,
                "rating": 7.1,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 63,
                "possession_lost": 7.1,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 6,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.05,
                "assists": 0,
                "expected_assists": 0.0828,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.02,
                "key_pass": 1,
                "ball_carries": 22,
                "total_progression": 67,
                "progressive_carries": 5,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.654,
                "opponent_faced": "Sergio Camello",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9174
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.02,
                  "after": 0.0267
                },
                {
                  "stat": "expected_assists",
                  "before": 0.059,
                  "after": 0.0828
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 2 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 6,
                "total_pass": 48,
                "accurate_pass": 38,
                "expected_goals": 0.0267,
                "rating": 7.1,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 63,
                "possession_lost": 7.1,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 6,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.05,
                "assists": 0,
                "expected_assists": 0.0828,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.02,
                "key_pass": 1,
                "ball_carries": 22,
                "total_progression": 67,
                "progressive_carries": 5,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.654,
                "opponent_faced": "Sergio Camello",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9174,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2014,
                "fifa_rank": 1110.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 6,
                "total_pass": 48,
                "accurate_pass": 38,
                "expected_goals": 0.0267,
                "rating": 7.1,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 63,
                "possession_lost": 7.1,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 6,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.05,
                "assists": 0,
                "expected_assists": 0.0828,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.02,
                "key_pass": 1,
                "ball_carries": 22,
                "total_progression": 67,
                "progressive_carries": 5,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.654,
                "opponent_faced": "Sergio Camello",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0263,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9174,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0263,
                "scorer_weight": 0.0214,
                "squad_weight_total": 1.5788,
                "weight_share": 0.0135,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 6,
                "total_pass": 48,
                "accurate_pass": 38,
                "expected_goals": 0.0267,
                "rating": 7.1,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 63,
                "possession_lost": 7.1,
                "dispossessed": 0.5,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 6,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.05,
                "assists": 0,
                "expected_assists": 0.0828,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.02,
                "key_pass": 1,
                "ball_carries": 22,
                "total_progression": 67,
                "progressive_carries": 5,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.654,
                "opponent_faced": "Sergio Camello",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0263,
                "projected_assists": 0,
                "assist_probability": 0.0795,
                "finishing_factor": 0.8,
                "creation_factor": 0.9174,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0795,
                "provider_weight": 0.076,
                "squad_weight_total": 1.0264,
                "weight_share": 0.074,
                "creation_factor": 0.9174,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Aymeric Laporte": {
          "player_id": 149734,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 14,
          "height": 191,
          "market_value": 8400000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 7.0041,
            "minutes": 80,
            "total_pass": 69,
            "accurate_pass": 66,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 0,
            "total_own_half_passes": 44,
            "accurate_own_half_passes": 43,
            "total_opp_half_passes": 26,
            "accurate_opp_half_passes": 23,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 79,
            "possession_lost": 4.3345,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 5,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0421,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 25,
            "total_progression": 106,
            "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": 78.9,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.42,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Alemão",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0412,
            "finishing_factor": 1.0,
            "creation_factor": 0.8,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0188,
                "total_shots": 0,
                "total_pass": 96,
                "accurate_pass": 93,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 7,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322.0,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.031,
                "total_shots": 0,
                "total_pass": 118,
                "accurate_pass": 111,
                "aerial_won": 1,
                "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"
            },
            {
              "match_id": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0042,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 53,
                "clearances": 8,
                "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": 16416308.0,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.432,
                "expected_assists": 0.0097,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 71,
                "accurate_pass": 69,
                "tackles": 1,
                "clearances": 7,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 31,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 32,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.098,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 36,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 160,
            "combined_rank_score": 140.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 59.0,
            "sofascore_rating": 7.6667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 221.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0041,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aymeric Laporte",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Guilherme Arana",
                  "ranking": 155
                },
                {
                  "player_name": "Will Smallbone",
                  "ranking": 156
                },
                {
                  "player_name": "Do-dam Kim",
                  "ranking": 157
                },
                {
                  "player_name": "Nuno Mendes",
                  "ranking": 158
                },
                {
                  "player_name": "Temurkhuja Abdukholikov",
                  "ranking": 159
                }
              ],
              "lower": [
                {
                  "player_name": "Daniel Castro",
                  "ranking": 161
                },
                {
                  "player_name": "Ryan Gravenberch",
                  "ranking": 162
                },
                {
                  "player_name": "Jhon Arias",
                  "ranking": 163
                },
                {
                  "player_name": "Oleksiy Gutsulyak",
                  "ranking": 164
                },
                {
                  "player_name": "Igor Vujačić",
                  "ranking": 165
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.649,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.649,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.001,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 213.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.85,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.16
            },
            "rationale": "XGBoost regressor (D_service) evaluated 6 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.16, 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": 7.0041,
                "minutes": 80,
                "total_pass": 69,
                "accurate_pass": 66,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 44,
                "accurate_own_half_passes": 43,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 4.33,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.03,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 106,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 7.4
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.3823,
                  "defensive_actions": 2.146,
                  "wonTackle": 0.9362,
                  "totalTackle_p90": 2.0128,
                  "totalClearance_p90": 3.576,
                  "aerialWon": 1.5846
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9291108250617981,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1028
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.028
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0289
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0262
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.025
                        }
                      ],
                      "others": 0.0204,
                      "total": 0.9291,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.120818
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.034326
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.034231
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.030103
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.027867
                        }
                      ],
                      "others_margin": 0.022395
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3030288219451904,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1298
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0779
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0507
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0439
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0129
                        }
                      ],
                      "others": 0.0273,
                      "total": 1.303,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.093043
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.054774
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.037332
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.033489
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.010027
                        }
                      ],
                      "others_margin": 0.021105
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7220949530601501,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.1311
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0269
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0244
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0217
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0212
                        }
                      ],
                      "others": 0.0296,
                      "total": 0.7221,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.172878
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.039454
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.035828
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.030913
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.03014
                        }
                      ],
                      "others_margin": 0.041744
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.8571410179138184,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.2093
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1979
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0742
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0566
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0551
                        }
                      ],
                      "others": 0.0998,
                      "total": 3.8571,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.059942
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.053566
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.019359
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.014748
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.01456
                        }
                      ],
                      "others_margin": 0.026246
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.1375235319137573,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.1592
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.091
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0425
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0344
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0295
                        }
                      ],
                      "others": 0.0805,
                      "total": 1.1375,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.133998
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.0855
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.040835
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.032892
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.028293
                        }
                      ],
                      "others_margin": 0.073397
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5201064944267273,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0303
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0246
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0227
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0183
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0153
                        }
                      ],
                      "others": 0.0149,
                      "total": 0.5201,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.030256
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.024632
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.022694
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.018332
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.015349
                        }
                      ],
                      "others_margin": 0.014851
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.004074573516846,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0683
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0506
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0378
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0203
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0188
                        }
                      ],
                      "others": 0.0505,
                      "total": 7.0041,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.068275
                        },
                        {
                          "name": "touches",
                          "margin": 0.050632
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.03782
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.020255
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.018816
                        }
                      ],
                      "others_margin": 0.050486
                    }
                  }
                ],
                "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": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.0041,
                "minutes": 80,
                "total_pass": 69,
                "accurate_pass": 66,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 44,
                "accurate_own_half_passes": 43,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 4.3345,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.03,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 106,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 8400000,
                "quality_factor": 0.5035,
                "boost_factor": 1.001
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0473)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.0041,
                "minutes": 80,
                "total_pass": 69,
                "accurate_pass": 66,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 44,
                "accurate_own_half_passes": 43,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 4.3345,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.03,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 106,
                "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": 78.9,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.42
              },
              "params": {
                "blend_weight": 0.0473,
                "history_matches": 6,
                "prior_reliability": 0.16,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.7228,
                  "after": 0.7477
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0197
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0197
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0197
                },
                {
                  "stat": "totalShots",
                  "before": 0.5206,
                  "after": 0.5362
                }
              ]
            },
            {
              "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": 7.0041,
                "minutes": 80,
                "total_pass": 69,
                "accurate_pass": 66,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 44,
                "accurate_own_half_passes": 43,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 4.3345,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.03,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 106,
                "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": 78.9,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.42
              },
              "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": 7.0041,
                "minutes": 80,
                "total_pass": 69,
                "accurate_pass": 66,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 44,
                "accurate_own_half_passes": 43,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 4.3345,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.03,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 106,
                "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": 78.9,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.42,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Alemão",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.0041,
                "minutes": 80,
                "total_pass": 69,
                "accurate_pass": 66,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 44,
                "accurate_own_half_passes": 43,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 4.3345,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0421,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 106,
                "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": 78.9,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.42,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.03,
                  "after": 0.0421
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 84.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.0041,
                "minutes": 80,
                "total_pass": 69,
                "accurate_pass": 66,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 44,
                "accurate_own_half_passes": 43,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 4.3345,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0421,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 106,
                "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": 78.9,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.42,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 160,
                "fifa_rank": 221.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.0041,
                "minutes": 80,
                "total_pass": 69,
                "accurate_pass": 66,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 44,
                "accurate_own_half_passes": 43,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 4.3345,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0421,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 106,
                "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": 78.9,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.42,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.5788,
                "weight_share": 0.0006,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.0041,
                "minutes": 80,
                "total_pass": 69,
                "accurate_pass": 66,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 44,
                "accurate_own_half_passes": 43,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 4.3345,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 5,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0421,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 106,
                "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": 78.9,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.42,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0412,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0412,
                "provider_weight": 0.0337,
                "squad_weight_total": 1.0264,
                "weight_share": 0.0328,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Aitor Paredes": {
          "player_id": 959872,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 4,
          "height": 186,
          "market_value": 7100000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.9656,
            "minutes": 75,
            "total_pass": 61,
            "accurate_pass": 57,
            "duels_won": 4,
            "total_long_balls": 8,
            "accurate_long_balls": 4,
            "total_own_half_passes": 33,
            "accurate_own_half_passes": 32,
            "total_opp_half_passes": 28,
            "accurate_opp_half_passes": 25,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 72,
            "possession_lost": 5.4799,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0238,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.014,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 20,
            "total_progression": 76,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 100.0,
            "shotConversion": 1.0,
            "minutesPct": 60.4,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Alemão",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0139,
            "finishing_factor": 1.25,
            "creation_factor": 0.8333,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0264,
                "total_shots": 0,
                "total_pass": 96,
                "accurate_pass": 96,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 45,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 21,
                "tackles": 2,
                "clearances": 4,
                "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": 16416308.0,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0084,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 49,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 7,
                "aerial_won": 3,
                "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": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 74,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2616,
                "expected_assists": 0.0216,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 70,
                "accurate_pass": 61,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 5,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 1702,
            "combined_rank_score": 690.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 138.0,
            "sofascore_rating": 7.35,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1243.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9656,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aitor Paredes",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Vicente Álvarez",
                  "ranking": 1697
                },
                {
                  "player_name": "Matías Cavalleri",
                  "ranking": 1698
                },
                {
                  "player_name": "Arthur Theate",
                  "ranking": 1699
                },
                {
                  "player_name": "Javokhir Kakhramonov",
                  "ranking": 1700
                },
                {
                  "player_name": "Wilson Odobert",
                  "ranking": 1701
                }
              ],
              "lower": [
                {
                  "player_name": "Danny Welbeck",
                  "ranking": 1703
                },
                {
                  "player_name": "Angeliño",
                  "ranking": 1704
                },
                {
                  "player_name": "Park Kyu-Min",
                  "ranking": 1705
                },
                {
                  "player_name": "Valentín Vidal",
                  "ranking": 1706
                },
                {
                  "player_name": "Tyler Adams",
                  "ranking": 1707
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.518,
          "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.518,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9963,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 163.0,
              "goals_per90": 0.5555555555555556,
              "assists_per90": 0.0,
              "shots_per90": 0.55,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.12
            },
            "rationale": "XGBoost regressor (D_service) evaluated 4 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.12, gls/90: 0.5555555555555556, 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": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.9656,
                "minutes": 75,
                "total_pass": 62,
                "accurate_pass": 57,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "total_own_half_passes": 33,
                "accurate_own_half_passes": 32,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 73,
                "possession_lost": 5.5,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 5.8143,
                  "defensive_actions": 2.1927,
                  "wonTackle": 0.6122,
                  "totalTackle_p90": 2.3107,
                  "totalClearance_p90": 7.0896,
                  "aerialWon": 1.5722
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7834856510162354,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1265
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0806
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0258
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0169
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0155
                        }
                      ],
                      "others": 0.029,
                      "total": 0.7835,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.150816
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.109572
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.036421
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.023102
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.020787
                        }
                      ],
                      "others_margin": 0.037708
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3063019514083862,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.137
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0692
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0504
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0392
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0133
                        }
                      ],
                      "others": 0.0101,
                      "total": 1.3063,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.097962
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.048269
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.036686
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.029496
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.01018
                        }
                      ],
                      "others_margin": 0.007703
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6890978217124939,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.1445
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0246
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0228
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.02
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0176
                        }
                      ],
                      "others": 0.0122,
                      "total": 0.6891,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.192431
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.036777
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.034102
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.029878
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.026399
                        }
                      ],
                      "others_margin": 0.017824
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.707340717315674,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.5931
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.4427
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1964
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0398
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0386
                        }
                      ],
                      "others": 0.0863,
                      "total": 4.7073,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.161326
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.105446
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.043453
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.008574
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.008316
                        }
                      ],
                      "others_margin": 0.018516
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.4957271814346313,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.1569
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0951
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0651
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0675
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0624
                        }
                      ],
                      "others": -0.0307,
                      "total": 1.4957,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.1165
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.069011
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.047755
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.047236
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.041731
                        }
                      ],
                      "others_margin": -0.020317
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5445305109024048,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0434
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0207
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0165
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0161
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0152
                        }
                      ],
                      "others": -0.002,
                      "total": 0.5445,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "minutesPlayed",
                          "margin": 0.043397
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.020705
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.016475
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.01606
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.015159
                        }
                      ],
                      "others_margin": -0.001901
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.965593338012695,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.047
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0451
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0361
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0192
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0172
                        }
                      ],
                      "others": 0.0432,
                      "total": 6.9656,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.046986
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.045139
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.036147
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.019203
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.017185
                        }
                      ],
                      "others_margin": 0.043143
                    }
                  }
                ],
                "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.9963, quality 0.488)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.9656,
                "minutes": 75,
                "total_pass": 61,
                "accurate_pass": 57,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "total_own_half_passes": 33,
                "accurate_own_half_passes": 32,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 5.4799,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 7100000,
                "quality_factor": 0.4878,
                "boost_factor": 0.9963
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0433)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.9656,
                "minutes": 75,
                "total_pass": 61,
                "accurate_pass": 57,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "total_own_half_passes": 33,
                "accurate_own_half_passes": 32,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 5.4799,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0241,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 1.0,
                "minutesPct": 60.4,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0433,
                "history_matches": 4,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "goals",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.0,
                  "after": 0.0238
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6866,
                  "after": 0.705
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.7806,
                  "after": 0.7708
                }
              ]
            },
            {
              "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": 6.9656,
                "minutes": 75,
                "total_pass": 61,
                "accurate_pass": 57,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "total_own_half_passes": 33,
                "accurate_own_half_passes": 32,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 5.4799,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0238,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 1.0,
                "minutesPct": 60.4,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.9656,
                "minutes": 75,
                "total_pass": 61,
                "accurate_pass": 57,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "total_own_half_passes": 33,
                "accurate_own_half_passes": 32,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 5.4799,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0238,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 1.0,
                "minutesPct": 60.4,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Alemão",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.9656,
                "minutes": 75,
                "total_pass": 61,
                "accurate_pass": 57,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "total_own_half_passes": 33,
                "accurate_own_half_passes": 32,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 5.4799,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0238,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.014,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 1.0,
                "minutesPct": 60.4,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8333
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.9656,
                "minutes": 75,
                "total_pass": 61,
                "accurate_pass": 57,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "total_own_half_passes": 33,
                "accurate_own_half_passes": 32,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 5.4799,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0238,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.014,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 1.0,
                "minutesPct": 60.4,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8333,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1702,
                "fifa_rank": 1243.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.9656,
                "minutes": 75,
                "total_pass": 61,
                "accurate_pass": 57,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "total_own_half_passes": 33,
                "accurate_own_half_passes": 32,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 5.4799,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0238,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.014,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 1.0,
                "minutesPct": 60.4,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8333,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.5788,
                "weight_share": 0.0006,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.9656,
                "minutes": 75,
                "total_pass": 61,
                "accurate_pass": 57,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "total_own_half_passes": 33,
                "accurate_own_half_passes": 32,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 5.4799,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0238,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.014,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 1.0,
                "minutesPct": 60.4,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0139,
                "finishing_factor": 1.25,
                "creation_factor": 0.8333,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0139,
                "provider_weight": 0.0117,
                "squad_weight_total": 1.0264,
                "weight_share": 0.0114,
                "creation_factor": 0.8333,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Jesús Areso": {
          "player_id": 910267,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 12,
          "height": 183,
          "market_value": 5500000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.6347,
            "minutes": 69,
            "total_pass": 31,
            "accurate_pass": 25,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 12,
            "accurate_own_half_passes": 9,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 16,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 50,
            "possession_lost": 10.4993,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0972,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 15,
            "total_progression": 99,
            "progressive_carries": 2,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 52.6,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "tackles_in_zone": 2.0,
            "tackles_won_in_zone": 1.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.544,
            "opponent_faced": "Jorge de Frutos",
            "pressing_zone": "Left Wing vs Right Back — Flank Battle",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0926,
            "finishing_factor": 1.0,
            "creation_factor": 0.8,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0149,
                "expected_assists": 0.1023,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 40,
                "accurate_pass": 37,
                "key_pass": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322.0,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 65,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0189,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 25,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 3,
                "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": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0227,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 21,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 5,
                "duels_won": 9,
                "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": 16416308.0,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 86,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1085,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 24,
                "key_pass": 2,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 58,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0696,
                "expected_assists": 0.0773,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 19,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1711,
            "combined_rank_score": 696.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 26.0,
            "fifa_rank": 694.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6347,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jesús Areso",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Valentín Vidal",
                  "ranking": 1706
                },
                {
                  "player_name": "Tyler Adams",
                  "ranking": 1707
                },
                {
                  "player_name": "Ryu Jun-sun",
                  "ranking": 1708
                },
                {
                  "player_name": "Dan Burn",
                  "ranking": 1709
                },
                {
                  "player_name": "Mingueza",
                  "ranking": 1710
                }
              ],
              "lower": [
                {
                  "player_name": "Si-heon Lee",
                  "ranking": 1712
                },
                {
                  "player_name": "Ignacio Jeraldino",
                  "ranking": 1713
                },
                {
                  "player_name": "Augusto Aguirre",
                  "ranking": 1714
                },
                {
                  "player_name": "Adnan Januzaj",
                  "ranking": 1715
                },
                {
                  "player_name": "Cho Jin-hyuk",
                  "ranking": 1716
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.579,
          "history_matches": 5,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 5,
            "data_confidence": 0.579,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9905,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 142.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.63,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1067
            },
            "rationale": "XGBoost regressor (D_service) evaluated 5 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.11, 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": 0,
                "rating": 6.6347,
                "minutes": 69,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 10.6,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.07,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 100,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.1408,
                    "rating": 5.6
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.1105,
                  "defensive_actions": 3.0952,
                  "wonTackle": 0.9544,
                  "totalTackle_p90": 1.9497,
                  "totalClearance_p90": 1.1259,
                  "aerialWon": 1.3845
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1359949111938477,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.1586
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.1037
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0319
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.027
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0258
                        }
                      ],
                      "others": 0.055,
                      "total": 1.136,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.161796
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.093193
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.027763
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.024112
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.023559
                        }
                      ],
                      "others_margin": 0.049584
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.6740903854370117,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1543
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1345
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0661
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0582
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0198
                        }
                      ],
                      "others": 0.0817,
                      "total": 1.6741,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.109682
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.086638
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.041624
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.036749
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.012338
                        }
                      ],
                      "others_margin": 0.049997
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8528649806976318,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.13
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0869
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.028
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0187
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0159
                        }
                      ],
                      "others": 0.0078,
                      "total": 0.8529,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.17133
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.117755
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.035114
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.022826
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.01904
                        }
                      ],
                      "others_margin": 0.009053
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.060962438583374,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.7436
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.3754
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2014
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0609
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0435
                        }
                      ],
                      "others": -0.0236,
                      "total": 2.061,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.247835
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.15315
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.092971
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.029042
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.020647
                        }
                      ],
                      "others_margin": -0.011388
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.8480243682861328,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.1474
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.122
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0525
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0492
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0251
                        }
                      ],
                      "others": -0.0756,
                      "total": 0.848,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.123438
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.115044
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.053924
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.05334
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.027596
                        }
                      ],
                      "others_margin": -0.085412
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4459,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "aerialLost",
                          "contribution": -0.0235
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0157
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0155
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0137
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0134
                        }
                      ],
                      "others": -0.0025,
                      "total": 0.4459,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "aerialLost",
                          "margin": -0.023525
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.015657
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.015546
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.013665
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.013421
                        }
                      ],
                      "others_margin": -0.002507
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.634713172912598,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0605
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0209
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0194
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0169
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0101
                        }
                      ],
                      "others": -0.0371,
                      "total": 6.6347,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.060487
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.020874
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.019429
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.016885
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.010104
                        }
                      ],
                      "others_margin": -0.037044
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9905, quality 0.468)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6347,
                "minutes": 69,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 10.4993,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0693,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 99,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 5500000,
                "quality_factor": 0.4683,
                "boost_factor": 0.9905
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0347)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6347,
                "minutes": 69,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 10.4993,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0693,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 99,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 52.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": -0.63
              },
              "params": {
                "blend_weight": 0.0347,
                "history_matches": 5,
                "prior_reliability": 0.1067,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.065
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0433
                },
                {
                  "stat": "totalCross",
                  "before": 3.1696,
                  "after": 3.1897
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.1252,
                  "after": 1.1079
                },
                {
                  "stat": "wonTackle",
                  "before": 0.8448,
                  "after": 0.8372
                },
                {
                  "stat": "totalShots",
                  "before": 0.4417,
                  "after": 0.4482
                }
              ]
            },
            {
              "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": 0,
                "rating": 6.6347,
                "minutes": 69,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 10.4993,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0693,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 99,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 52.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6347,
                "minutes": 69,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 10.4993,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0693,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 99,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 52.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.544,
                "opponent_faced": "Jorge de Frutos",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jorge de Frutos",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6347,
                "minutes": 69,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 10.4993,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0972,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 99,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 52.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.544,
                "opponent_faced": "Jorge de Frutos",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0693,
                  "after": 0.0972
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6347,
                "minutes": 69,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 10.4993,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0972,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 99,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 52.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.544,
                "opponent_faced": "Jorge de Frutos",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1711,
                "fifa_rank": 694.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6347,
                "minutes": 69,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 10.4993,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0972,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 99,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 52.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.544,
                "opponent_faced": "Jorge de Frutos",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.5788,
                "weight_share": 0.0006,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6347,
                "minutes": 69,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 10.4993,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0972,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 99,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 52.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.544,
                "opponent_faced": "Jorge de Frutos",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0926,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0926,
                "provider_weight": 0.0778,
                "squad_weight_total": 1.0264,
                "weight_share": 0.0758,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Nico Williams": {
          "player_id": 1085400,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 10,
          "height": 180,
          "market_value": 44000000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.265,
            "assist_rate": 0.1268,
            "assists": 0,
            "expected_goals": 0.3757,
            "goal_rate": 0.3194,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 6.9702,
            "minutes": 61,
            "total_pass": 24,
            "accurate_pass": 18,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 13,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 44,
            "possession_lost": 14.5307,
            "dispossessed": 0.0,
            "duels_lost": 5,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 4,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 19,
            "total_progression": 116,
            "progressive_carries": 6,
            "shots_off_target": 1,
            "offsides": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 40.4,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "duel_xg_multiplier": 1.3069,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.669,
            "pressing_faced": "LOW",
            "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Isi Palazón",
            "opponent_faced": "Isi Palazón",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 1,
            "goal_probability": 0.3132,
            "projected_assists": 0,
            "assist_probability": 0.2328,
            "finishing_factor": 1.1157,
            "creation_factor": 0.8,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.084,
                "expected_assists": 0.0708,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 39,
                "accurate_pass": 30,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322.0,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0972,
                "expected_assists": 1.0516,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 41,
                "accurate_pass": 34,
                "key_pass": 4,
                "tackles": 1,
                "tackles_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": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 76,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4335,
                "expected_assists": 0.0079,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 12,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 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": 16416308.0,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 16,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3375,
                "expected_assists": 0.0017,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 3,
                "accurate_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 60,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0239,
                "expected_assists": 0.0003,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 32,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0856,
                "expected_assists": 0.1838,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 12,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 498,
            "combined_rank_score": 291.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 351.0,
            "sofascore_rating": 6.984,
            "sofascore_appearances": 25.0,
            "fifa_rank": 231.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9702,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nico Williams",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Alex Fernandes",
                  "ranking": 493
                },
                {
                  "player_name": "Lucas Soto",
                  "ranking": 494
                },
                {
                  "player_name": "Jo Jun-Hyun",
                  "ranking": 495
                },
                {
                  "player_name": "Nizar El Jmili",
                  "ranking": 496
                },
                {
                  "player_name": "Marco de las Sias",
                  "ranking": 497
                }
              ],
              "lower": [
                {
                  "player_name": "José Ángel López",
                  "ranking": 499
                },
                {
                  "player_name": "Kim Hye-Seong",
                  "ranking": 500
                },
                {
                  "player_name": "Matheus Babi",
                  "ranking": 501
                },
                {
                  "player_name": "Farrukh Sayfiev",
                  "ranking": 502
                },
                {
                  "player_name": "Dong-min Kim",
                  "ranking": 503
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.637,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.637,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0901,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 109.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 3.3,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.08
            },
            "rationale": "XGBoost regressor (M_service) evaluated 6 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.08, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1733,
                "assist_rate": 0.1192,
                "assists": 0,
                "expected_goals": 0.1974,
                "goal_rate": 0.2296,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.9702,
                "minutes": 61,
                "total_pass": 22,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 13.33,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 17,
                "total_progression": 106,
                "progressive_carries": 5,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.1479,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalShots": 2.213,
                  "expectedAssists": 0.2536,
                  "creative_index": 0.7687,
                  "creative_efficiency": 0.0595,
                  "shotValueNormalized": -0.2044,
                  "dribbleValueNormalized": 0.385
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.455824375152588,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1422
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0711
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0756
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0393
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.04
                        }
                      ],
                      "others": 0.1609,
                      "total": 1.4558,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.142761
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.064407
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.064191
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.031841
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.03134
                        }
                      ],
                      "others_margin": 0.11718
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.17330294847488403,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0435
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0071
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0057
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0055
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0047
                        }
                      ],
                      "others": 0.0196,
                      "total": 0.1733,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.404499
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.052989
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.040663
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.037348
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.031366
                        }
                      ],
                      "others_margin": 0.119613
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.11919006705284119,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0088
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0077
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0038
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0037
                        },
                        {
                          "name": "cross_accuracy",
                          "contribution": 0.0033
                        }
                      ],
                      "others": 0.0068,
                      "total": 0.1192,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.09793
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.078568
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.037056
                        },
                        {
                          "name": "touches",
                          "margin": 0.034501
                        },
                        {
                          "name": "cross_accuracy",
                          "margin": 0.029439
                        }
                      ],
                      "others_margin": 0.058913
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.19735512137413025,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0121
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0121
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0102
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0038
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0036
                        }
                      ],
                      "others": 0.0082,
                      "total": 0.1974,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.063938
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.06016
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.050518
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.019403
                        },
                        {
                          "name": "kilometersCovered",
                          "margin": -0.019101
                        }
                      ],
                      "others_margin": 0.042483
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.22958055138587952,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0602
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0278
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0113
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0116
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0094
                        }
                      ],
                      "others": 0.017,
                      "total": 0.2296,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.341261
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.143675
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.060692
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.058705
                        },
                        {
                          "name": "intensity_index",
                          "margin": 0.045304
                        }
                      ],
                      "others_margin": 0.077377
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5779730081558228,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1576
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0478
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0263
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0269
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0176
                        }
                      ],
                      "others": 0.06,
                      "total": 0.578,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.383203
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.101525
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.057111
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.055228
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.034485
                        }
                      ],
                      "others_margin": 0.109665
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.5524730081558227,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3873
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.1778
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0861
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0371
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0319
                        }
                      ],
                      "others": -0.0337,
                      "total": 1.5524,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.387297
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.177807
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.086141
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.037058
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.03186
                        }
                      ],
                      "others_margin": -0.033522
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.970174312591553,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0345
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.034
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0301
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0257
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0194
                        }
                      ],
                      "others": 0.0055,
                      "total": 6.9702,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.034547
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.033994
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.030051
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.025741
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.019363
                        }
                      ],
                      "others_margin": 0.005448
                    }
                  }
                ],
                "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.0901, quality 0.800)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1889,
                "assist_rate": 0.1299,
                "assists": 0,
                "expected_goals": 0.2151,
                "goal_rate": 0.2503,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.9702,
                "minutes": 61,
                "total_pass": 24,
                "accurate_pass": 18,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 14.5307,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 116,
                "progressive_carries": 6,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 44000000,
                "quality_factor": 0.8002,
                "boost_factor": 1.0901
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0236)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1889,
                "assist_rate": 0.1268,
                "assists": 0,
                "expected_goals": 0.2151,
                "goal_rate": 0.2444,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.9702,
                "minutes": 61,
                "total_pass": 24,
                "accurate_pass": 18,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 14.5307,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 116,
                "progressive_carries": 6,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 40.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0236,
                "history_matches": 6,
                "prior_reliability": 0.08,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.1182
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0394
                },
                {
                  "stat": "totalShots",
                  "before": 1.6923,
                  "after": 1.7303
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0197
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.63,
                  "after": 0.6151
                },
                {
                  "stat": "goals",
                  "before": 0.2503,
                  "after": 0.2444
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1889,
                "assist_rate": 0.1268,
                "assists": 0,
                "expected_goals": 0.2151,
                "goal_rate": 0.2444,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.9702,
                "minutes": 61,
                "total_pass": 24,
                "accurate_pass": 18,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 14.5307,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 116,
                "progressive_carries": 6,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 40.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1889,
                "assist_rate": 0.1268,
                "assists": 0,
                "expected_goals": 0.2811,
                "goal_rate": 0.3194,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.9702,
                "minutes": 61,
                "total_pass": 24,
                "accurate_pass": 18,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 14.5307,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 116,
                "progressive_carries": 6,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 40.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.3069,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.669,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isi Palazón",
                "opponent_faced": "Isi Palazón",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Isi Palazón",
                  "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                  "duel_win_rate": 0.669,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.3069,
                  "skill_edge": 0.1648,
                  "height_edge": 0.044,
                  "attacker_skill": 0.8102,
                  "defender_skill": 0.444,
                  "xg_override": 0.2811
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 1.7303,
                  "after": 2.2613
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.0623,
                  "after": 1.3883
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6151,
                  "after": 0.8039
                },
                {
                  "stat": "goals",
                  "before": 0.2444,
                  "after": 0.3194
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2151,
                  "after": 0.2811
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.265,
                "assist_rate": 0.1268,
                "assists": 0,
                "expected_goals": 0.3757,
                "goal_rate": 0.3194,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.9702,
                "minutes": 61,
                "total_pass": 24,
                "accurate_pass": 18,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 14.5307,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 116,
                "progressive_carries": 6,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 40.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.3069,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.669,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isi Palazón",
                "opponent_faced": "Isi Palazón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1157,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2811,
                  "after": 0.3757
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1889,
                  "after": 0.265
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 84.0; not used by the projection)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.265,
                "assist_rate": 0.1268,
                "assists": 0,
                "expected_goals": 0.3757,
                "goal_rate": 0.3194,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.9702,
                "minutes": 61,
                "total_pass": 24,
                "accurate_pass": 18,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 14.5307,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 116,
                "progressive_carries": 6,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 40.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.3069,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.669,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isi Palazón",
                "opponent_faced": "Isi Palazón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1157,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 498,
                "fifa_rank": 231.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.265,
                "assist_rate": 0.1268,
                "assists": 0,
                "expected_goals": 0.3757,
                "goal_rate": 0.3194,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.9702,
                "minutes": 61,
                "total_pass": 24,
                "accurate_pass": 18,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 14.5307,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 116,
                "progressive_carries": 6,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 40.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.3069,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.669,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isi Palazón",
                "opponent_faced": "Isi Palazón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 1,
                "goal_probability": 0.3132,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1157,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.3132,
                "scorer_weight": 0.4192,
                "squad_weight_total": 1.5788,
                "weight_share": 0.2655,
                "finishing_factor": 1.1157,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.265,
                "assist_rate": 0.1268,
                "assists": 0,
                "expected_goals": 0.3757,
                "goal_rate": 0.3194,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.9702,
                "minutes": 61,
                "total_pass": 24,
                "accurate_pass": 18,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 14.5307,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 116,
                "progressive_carries": 6,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 40.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.3069,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.669,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isi Palazón",
                "opponent_faced": "Isi Palazón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 1,
                "goal_probability": 0.3132,
                "projected_assists": 0,
                "assist_probability": 0.2328,
                "finishing_factor": 1.1157,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.2328,
                "provider_weight": 0.212,
                "squad_weight_total": 1.0264,
                "weight_share": 0.2065,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Mikel Jauregizar": {
          "player_id": 1495844,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 177,
          "market_value": 31000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0581,
            "assist_rate": 0.0573,
            "assists": 0,
            "expected_goals": 0.1595,
            "goal_rate": 0.0696,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8377,
            "minutes": 42,
            "total_pass": 27,
            "accurate_pass": 23,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 0,
            "total_own_half_passes": 13,
            "accurate_own_half_passes": 11,
            "total_opp_half_passes": 15,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 34,
            "possession_lost": 5.3374,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 2,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 9,
            "total_progression": 23,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 35.2,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "duel_xg_multiplier": 1.1946,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.9,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.532,
            "pressing_faced": "LOW",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pedro Díaz",
            "opponent_faced": "Pedro Díaz",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1474,
            "projected_assists": 0,
            "assist_probability": 0.0564,
            "finishing_factor": 0.8,
            "creation_factor": 1.174,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0312,
                "expected_assists": 0.0348,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 60,
                "accurate_pass": 54,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322.0,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 25,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0087,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 22,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 30,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0334,
                "expected_assists": 0.0042,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 14,
                "accurate_pass": 14,
                "tackles": 3,
                "tackles_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308.0,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 25,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 12,
                "tackles": 1,
                "interceptions": 2,
                "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": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 70,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 7,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1561,
            "combined_rank_score": 778.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 641.0,
            "sofascore_rating": 6.75,
            "sofascore_appearances": 36.0,
            "fifa_rank": 915.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8377,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mikel Jauregizar",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Seul-chan Lee",
                  "ranking": 1556
                },
                {
                  "player_name": "Yu Dong-Kyu",
                  "ranking": 1557
                },
                {
                  "player_name": "Sunnatillokh Khamidzhonov",
                  "ranking": 1558
                },
                {
                  "player_name": "Ham Sunwoo",
                  "ranking": 1559
                },
                {
                  "player_name": "Fisnik Asllani",
                  "ranking": 1560
                }
              ],
              "lower": [
                {
                  "player_name": "José Tiznado",
                  "ranking": 1562
                },
                {
                  "player_name": "Azizjon Akhrorov",
                  "ranking": 1563
                },
                {
                  "player_name": "Usmonali Ismonaliev",
                  "ranking": 1564
                },
                {
                  "player_name": "Damir Temirov",
                  "ranking": 1565
                },
                {
                  "player_name": "Sadriddin Khasanov",
                  "ranking": 1566
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.573,
          "history_matches": 5,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 5,
            "data_confidence": 0.573,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0675,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "minutes": 95.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0733
            },
            "rationale": "XGBoost regressor (M_service) evaluated 5 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.07, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0388,
                "assist_rate": 0.055,
                "assists": 0,
                "expected_goals": 0.0935,
                "goal_rate": 0.0559,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8377,
                "minutes": 42,
                "total_pass": 25,
                "accurate_pass": 22,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 14,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 22,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 25.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1948,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.1656,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.1408,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.4645,
                  "expectedAssists": 0.0128,
                  "creative_index": 0.1155,
                  "creative_efficiency": 0.0094,
                  "shotValueNormalized": -0.0027,
                  "dribbleValueNormalized": 0.0642
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6246652603149414,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.1442
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0952
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0461
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0348
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0311
                        }
                      ],
                      "others": -0.0428,
                      "total": 0.6247,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.169116
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.129769
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.064943
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.048641
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.045568
                        }
                      ],
                      "others_margin": -0.06624
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.038753606379032135,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.036
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0028
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0023
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0021
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0033,
                      "total": 0.0388,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.531978
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.055199
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.049238
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.045832
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.044616
                        }
                      ],
                      "others_margin": -0.084477
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.055030036717653275,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0116
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0072
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0022
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.002
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0015
                        }
                      ],
                      "others": -0.0056,
                      "total": 0.055,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.147067
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.103781
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.034198
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.031965
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.023923
                        }
                      ],
                      "others_margin": -0.0955
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09354650974273682,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0357
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.012
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0079
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0057
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.023,
                      "total": 0.0935,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.217314
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.085133
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.060032
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.04604
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.040684
                        }
                      ],
                      "others_margin": -0.219785
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.055900219827890396,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0311
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0231
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0073
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0059
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0044
                        }
                      ],
                      "others": -0.0202,
                      "total": 0.0559,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.235693
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.220477
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.080856
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.071289
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.056378
                        }
                      ],
                      "others_margin": -0.308328
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.14167149364948273,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1276
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0162
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0101
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.008
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0063
                        }
                      ],
                      "others": -0.0275,
                      "total": 0.1417,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.47503
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.080233
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.053585
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.044289
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.036684
                        }
                      ],
                      "others_margin": -0.178026
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5396755337715149,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2571
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0436
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0323
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0267
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.025
                        }
                      ],
                      "others": -0.1137,
                      "total": 0.5397,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.257113
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.043629
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.032307
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.026737
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.025004
                        }
                      ],
                      "others_margin": -0.113605
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.837714672088623,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0281
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0266
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0261
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0117
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0098
                        }
                      ],
                      "others": -0.0252,
                      "total": 6.8377,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.028097
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.026597
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.026086
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.01169
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.00981
                        }
                      ],
                      "others_margin": -0.025127
                    }
                  }
                ],
                "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.0675, quality 0.725)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0414,
                "assist_rate": 0.0587,
                "assists": 0,
                "expected_goals": 0.0999,
                "goal_rate": 0.0597,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8377,
                "minutes": 42,
                "total_pass": 27,
                "accurate_pass": 23,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 5.3374,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 23,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 31000000,
                "quality_factor": 0.7249,
                "boost_factor": 1.0675
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0238)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0414,
                "assist_rate": 0.0573,
                "assists": 0,
                "expected_goals": 0.0999,
                "goal_rate": 0.0583,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8377,
                "minutes": 42,
                "total_pass": 27,
                "accurate_pass": 23,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 5.3374,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 23,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 35.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": -0.95
              },
              "params": {
                "blend_weight": 0.0238,
                "history_matches": 5,
                "prior_reliability": 0.0733,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.065
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0433
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0217
                },
                {
                  "stat": "totalShots",
                  "before": 0.5761,
                  "after": 0.5624
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0414,
                "assist_rate": 0.0573,
                "assists": 0,
                "expected_goals": 0.0999,
                "goal_rate": 0.0583,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8377,
                "minutes": 42,
                "total_pass": 27,
                "accurate_pass": 23,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 5.3374,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 23,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 35.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0414,
                "assist_rate": 0.0573,
                "assists": 0,
                "expected_goals": 0.1193,
                "goal_rate": 0.0696,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8377,
                "minutes": 42,
                "total_pass": 27,
                "accurate_pass": 23,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 5.3374,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 23,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 35.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.1946,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.532,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedro Díaz",
                "opponent_faced": "Pedro Díaz",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pedro Díaz",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.532,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.1946,
                  "skill_edge": 0.1444,
                  "height_edge": -0.012,
                  "attacker_skill": 0.761,
                  "defender_skill": 0.4402,
                  "xg_override": 0.1193
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 0.5725,
                  "after": 0.6839
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4249,
                  "after": 0.5076
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1476,
                  "after": 0.1763
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0999,
                  "after": 0.1193
                },
                {
                  "stat": "goals",
                  "before": 0.0583,
                  "after": 0.0696
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0581,
                "assist_rate": 0.0573,
                "assists": 0,
                "expected_goals": 0.1595,
                "goal_rate": 0.0696,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8377,
                "minutes": 42,
                "total_pass": 27,
                "accurate_pass": 23,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 5.3374,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 23,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 35.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.1946,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.532,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedro Díaz",
                "opponent_faced": "Pedro Díaz",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.174
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1193,
                  "after": 0.1595
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0414,
                  "after": 0.0581
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0581,
                "assist_rate": 0.0573,
                "assists": 0,
                "expected_goals": 0.1595,
                "goal_rate": 0.0696,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8377,
                "minutes": 42,
                "total_pass": 27,
                "accurate_pass": 23,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 5.3374,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 23,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 35.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.1946,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.532,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedro Díaz",
                "opponent_faced": "Pedro Díaz",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.174,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1561,
                "fifa_rank": 915.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0581,
                "assist_rate": 0.0573,
                "assists": 0,
                "expected_goals": 0.1595,
                "goal_rate": 0.0696,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8377,
                "minutes": 42,
                "total_pass": 27,
                "accurate_pass": 23,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 5.3374,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 23,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 35.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.1946,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.532,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedro Díaz",
                "opponent_faced": "Pedro Díaz",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1474,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.174,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1474,
                "scorer_weight": 0.1276,
                "squad_weight_total": 1.5788,
                "weight_share": 0.0808,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0581,
                "assist_rate": 0.0573,
                "assists": 0,
                "expected_goals": 0.1595,
                "goal_rate": 0.0696,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8377,
                "minutes": 42,
                "total_pass": 27,
                "accurate_pass": 23,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 5.3374,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 23,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 35.2,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.1946,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.532,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedro Díaz",
                "opponent_faced": "Pedro Díaz",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1474,
                "projected_assists": 0,
                "assist_probability": 0.0564,
                "finishing_factor": 0.8,
                "creation_factor": 1.174,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0564,
                "provider_weight": 0.0682,
                "squad_weight_total": 1.0264,
                "weight_share": 0.0665,
                "creation_factor": 1.174,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Oihan Sancet": {
          "player_id": 966801,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 188,
          "market_value": 24000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1448,
            "assist_rate": 0.1209,
            "assists": 0,
            "expected_goals": 0.446,
            "goal_rate": 0.3091,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 3,
            "rating": 6.8931,
            "minutes": 86,
            "total_pass": 27,
            "accurate_pass": 22,
            "duels_won": 5,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 21,
            "accurate_opp_half_passes": 16,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 45,
            "possession_lost": 13.132,
            "dispossessed": 2.6264,
            "duels_lost": 6,
            "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,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 15,
            "total_progression": 63,
            "progressive_carries": 3,
            "shots_off_target": 2,
            "offsides": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 37.5,
            "shotConversion": 0.0,
            "minutesPct": 90.4,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "duel_xg_multiplier": 1.2164,
            "dribbles_attempted": 4,
            "dribbles_successful": 2.2,
            "crosses_attempted": 2.3,
            "duel_win_rate": 0.627,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Adrià Pedrosa",
            "opponent_faced": "Adrià Pedrosa",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.3598,
            "projected_assists": 0,
            "assist_probability": 0.1348,
            "finishing_factor": 0.9359,
            "creation_factor": 1.1155,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8114,
                "expected_assists": 0.0161,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 25,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322.0,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2131,
                "expected_assists": 0.9174,
                "total_shots": 4,
                "shots_off_target": 4,
                "total_pass": 30,
                "accurate_pass": 27,
                "key_pass": 3,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5786,
                "expected_assists": 0.0169,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 16,
                "key_pass": 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": 16416308.0,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 65,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4254,
                "expected_assists": 0.0529,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 19,
                "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": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1759,
                "expected_assists": 0.0188,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 19,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 4,
                "duels_won": 8,
                "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": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3757,
                "expected_assists": 0.1728,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 31,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 10,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2326,
            "combined_rank_score": 1044.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 845.0,
            "sofascore_rating": 6.5786,
            "sofascore_appearances": 28.0,
            "fifa_rank": 1244.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8931,
            "source_file": "data/player_rankings.csv",
            "player_name": "Oihan Sancet",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Sunnatilla Poyonov",
                  "ranking": 2321
                },
                {
                  "player_name": "Claudio Torres",
                  "ranking": 2322
                },
                {
                  "player_name": "Lars Traber",
                  "ranking": 2323
                },
                {
                  "player_name": "Adem Zorgane",
                  "ranking": 2324
                },
                {
                  "player_name": "Matteo Ruggeri",
                  "ranking": 2325
                }
              ],
              "lower": [
                {
                  "player_name": "Dušan Tadić",
                  "ranking": 2327
                },
                {
                  "player_name": "Christian Eriksen",
                  "ranking": 2328
                },
                {
                  "player_name": "Yerko Leiva",
                  "ranking": 2329
                },
                {
                  "player_name": "Sergiño Dest",
                  "ranking": 2330
                },
                {
                  "player_name": "Kosta Barbarouses",
                  "ranking": 2331
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.652,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.652,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0506,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 244.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.95,
              "shots_on_target_pct": 37.5,
              "prior_reliability": 0.18
            },
            "rationale": "XGBoost regressor (M_service) evaluated 6 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.18, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0983,
                "assist_rate": 0.1215,
                "assists": 0,
                "expected_goals": 0.2611,
                "goal_rate": 0.2555,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.8931,
                "minutes": 86,
                "total_pass": 26,
                "accurate_pass": 21,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 6,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 12.5,
                "dispossessed": 2.5,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 60,
                "progressive_carries": 3,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalShots": 2.8382,
                  "expectedAssists": 0.2233,
                  "creative_index": 0.724,
                  "creative_efficiency": 0.0779,
                  "shotValueNormalized": -0.4322,
                  "dribbleValueNormalized": 0.2844
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.2731637954711914,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1276
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0728
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0666
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0352
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0301
                        }
                      ],
                      "others": 0.0142,
                      "total": 1.2732,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.128973
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.066809
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.057421
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.029059
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.024213
                        }
                      ],
                      "others_margin": 0.011178
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09826492518186569,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0264
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0083
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0074
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0058
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0054
                        }
                      ],
                      "others": -0.0108,
                      "total": 0.0983,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.264663
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.0755
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.073267
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.057676
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.050803
                        }
                      ],
                      "others_margin": -0.105271
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.12154261767864227,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0115
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0113
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0053
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0041
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0036
                        }
                      ],
                      "others": 0.0078,
                      "total": 0.1215,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.126551
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.110224
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.048239
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.035242
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.031017
                        }
                      ],
                      "others_margin": 0.066713
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.2610560953617096,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0637
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0118
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0084
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0078
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0066
                        }
                      ],
                      "others": 0.0126,
                      "total": 0.2611,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.299375
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.046891
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.033094
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.031795
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.026782
                        }
                      ],
                      "others_margin": 0.049129
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.2555040419101715,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.069
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0233
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0101
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0096
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.009
                        }
                      ],
                      "others": 0.0524,
                      "total": 0.2555,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.38295
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.113714
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.051001
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.048494
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.045543
                        }
                      ],
                      "others_margin": 0.229362
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6446578502655029,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1987
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0378
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0352
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0154
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0151
                        }
                      ],
                      "others": 0.0755,
                      "total": 0.6447,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.463053
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.068196
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.063369
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.028144
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.026969
                        }
                      ],
                      "others_margin": 0.124367
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.9695024490356445,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.6768
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0551
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0458
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0457
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0444
                        }
                      ],
                      "others": 0.0636,
                      "total": 1.9695,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.676804
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.055078
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.045815
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.045688
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.044353
                        }
                      ],
                      "others_margin": 0.063695
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.893102645874023,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0358
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0325
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.026
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0244
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0218
                        }
                      ],
                      "others": 0.0098,
                      "total": 6.8931,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.035818
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.032469
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.025959
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.02435
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.021793
                        }
                      ],
                      "others_margin": 0.009815
                    }
                  }
                ],
                "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": {
                "key_pass": 1,
                "expected_assists": 0.1032,
                "assist_rate": 0.1277,
                "assists": 0,
                "expected_goals": 0.2743,
                "goal_rate": 0.2684,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.8931,
                "minutes": 86,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 6,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 13.132,
                "dispossessed": 2.6264,
                "duels_lost": 6,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 63,
                "progressive_carries": 3,
                "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.0532)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1032,
                "assist_rate": 0.1209,
                "assists": 0,
                "expected_goals": 0.2743,
                "goal_rate": 0.2541,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.8931,
                "minutes": 86,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 6,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 13.132,
                "dispossessed": 2.6264,
                "duels_lost": 6,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 63,
                "progressive_carries": 3,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 37.5,
                "shotConversion": 0.0,
                "minutesPct": 90.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": -0.74
              },
              "params": {
                "blend_weight": 0.0532,
                "history_matches": 6,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0788
                },
                {
                  "stat": "totalShots",
                  "before": 2.0691,
                  "after": 2.1159
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0394
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0394
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6773,
                  "after": 0.7003
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0197
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0197
                },
                {
                  "stat": "goals",
                  "before": 0.2684,
                  "after": 0.2541
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1032,
                "assist_rate": 0.1209,
                "assists": 0,
                "expected_goals": 0.2743,
                "goal_rate": 0.2541,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.8931,
                "minutes": 86,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 6,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 13.132,
                "dispossessed": 2.6264,
                "duels_lost": 6,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 63,
                "progressive_carries": 3,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 37.5,
                "shotConversion": 0.0,
                "minutesPct": 90.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1032,
                "assist_rate": 0.1209,
                "assists": 0,
                "expected_goals": 0.3337,
                "goal_rate": 0.3091,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 3,
                "rating": 6.8931,
                "minutes": 86,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 6,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 13.132,
                "dispossessed": 2.6264,
                "duels_lost": 6,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 63,
                "progressive_carries": 3,
                "shots_off_target": 2,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 37.5,
                "shotConversion": 0.0,
                "minutesPct": 90.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.2164,
                "dribbles_attempted": 4,
                "dribbles_successful": 2.2,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.627,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrià Pedrosa",
                "opponent_faced": "Adrià Pedrosa",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Adrià Pedrosa",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.627,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.2164,
                  "skill_edge": 0.0992,
                  "height_edge": 0.048,
                  "attacker_skill": 0.6685,
                  "defender_skill": 0.4481,
                  "xg_override": 0.3337
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 2.1159,
                  "after": 2.5738
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.3918,
                  "after": 1.693
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.7003,
                  "after": 0.8518
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2743,
                  "after": 0.3337
                },
                {
                  "stat": "goals",
                  "before": 0.2541,
                  "after": 0.3091
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1448,
                "assist_rate": 0.1209,
                "assists": 0,
                "expected_goals": 0.446,
                "goal_rate": 0.3091,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 3,
                "rating": 6.8931,
                "minutes": 86,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 6,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 13.132,
                "dispossessed": 2.6264,
                "duels_lost": 6,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 63,
                "progressive_carries": 3,
                "shots_off_target": 2,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 37.5,
                "shotConversion": 0.0,
                "minutesPct": 90.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.2164,
                "dribbles_attempted": 4,
                "dribbles_successful": 2.2,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.627,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrià Pedrosa",
                "opponent_faced": "Adrià Pedrosa",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9359,
                "creation_factor": 1.1155
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3337,
                  "after": 0.446
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1032,
                  "after": 0.1448
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 8 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1448,
                "assist_rate": 0.1209,
                "assists": 0,
                "expected_goals": 0.446,
                "goal_rate": 0.3091,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 3,
                "rating": 6.8931,
                "minutes": 86,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 6,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 13.132,
                "dispossessed": 2.6264,
                "duels_lost": 6,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 63,
                "progressive_carries": 3,
                "shots_off_target": 2,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 37.5,
                "shotConversion": 0.0,
                "minutesPct": 90.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.2164,
                "dribbles_attempted": 4,
                "dribbles_successful": 2.2,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.627,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrià Pedrosa",
                "opponent_faced": "Adrià Pedrosa",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9359,
                "creation_factor": 1.1155,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2326,
                "fifa_rank": 1244.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1448,
                "assist_rate": 0.1209,
                "assists": 0,
                "expected_goals": 0.446,
                "goal_rate": 0.3091,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 3,
                "rating": 6.8931,
                "minutes": 86,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 6,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 13.132,
                "dispossessed": 2.6264,
                "duels_lost": 6,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 63,
                "progressive_carries": 3,
                "shots_off_target": 2,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 37.5,
                "shotConversion": 0.0,
                "minutesPct": 90.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.2164,
                "dribbles_attempted": 4,
                "dribbles_successful": 2.2,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.627,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrià Pedrosa",
                "opponent_faced": "Adrià Pedrosa",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.3598,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9359,
                "creation_factor": 1.1155,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.3598,
                "scorer_weight": 0.4174,
                "squad_weight_total": 1.5788,
                "weight_share": 0.2644,
                "finishing_factor": 0.9359,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1448,
                "assist_rate": 0.1209,
                "assists": 0,
                "expected_goals": 0.446,
                "goal_rate": 0.3091,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 3,
                "rating": 6.8931,
                "minutes": 86,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 6,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 13.132,
                "dispossessed": 2.6264,
                "duels_lost": 6,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 63,
                "progressive_carries": 3,
                "shots_off_target": 2,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 37.5,
                "shotConversion": 0.0,
                "minutesPct": 90.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.2164,
                "dribbles_attempted": 4,
                "dribbles_successful": 2.2,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.627,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrià Pedrosa",
                "opponent_faced": "Adrià Pedrosa",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.3598,
                "projected_assists": 0,
                "assist_probability": 0.1348,
                "finishing_factor": 0.9359,
                "creation_factor": 1.1155,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1348,
                "provider_weight": 0.1615,
                "squad_weight_total": 1.0264,
                "weight_share": 0.1574,
                "creation_factor": 1.1155,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Beñat Prados": {
          "player_id": 1012409,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 6,
          "height": 179,
          "market_value": 15500000,
          "stats": {
            "key_pass": 2,
            "assist_rate": 0.14,
            "assists": 1,
            "expected_assists": 0.2231,
            "expected_goals": 0.1512,
            "total_shots": 2,
            "total_pass": 56,
            "accurate_pass": 45,
            "ball_recovery": 6,
            "duels_won": 7,
            "rating": 7.1,
            "minutes": 90,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 23,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 16,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 70,
            "possession_lost": 9.1,
            "dispossessed": 0.9,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 2,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 4,
            "won_contest": 2,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "goal_rate": 0.0887,
            "goals": 0,
            "shots_on_target": 1,
            "shots_off_target": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1008,
            "ball_carries": 33,
            "total_progression": 87,
            "progressive_carries": 8,
            "duel_xg_multiplier": 1.1087,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.474,
            "pressing_faced": "LOW",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pedro Díaz",
            "opponent_faced": "Pedro Díaz",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1403,
            "projected_assists": 1,
            "assist_probability": 0.2,
            "finishing_factor": 0.8504,
            "creation_factor": 0.9091,
            "fifa_overall": 77.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3281,
            "combined_rank_score": 1223.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 873.0,
            "sofascore_rating": 6.55,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1573.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1,
            "source_file": "data/player_rankings.csv",
            "player_name": "Beñat Prados",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Alfonso Herrero",
                  "ranking": 3276
                },
                {
                  "player_name": "Tim Iroegbunam",
                  "ranking": 3277
                },
                {
                  "player_name": "Jaminton Campaz",
                  "ranking": 3278
                },
                {
                  "player_name": "Miguel Merentiel",
                  "ranking": 3279
                },
                {
                  "player_name": "Pep Biel",
                  "ranking": 3280
                }
              ],
              "lower": [
                {
                  "player_name": "Zlatko Tripić",
                  "ranking": 3282
                },
                {
                  "player_name": "Omari Hutchinson",
                  "ranking": 3283
                },
                {
                  "player_name": "Fabian Rieder",
                  "ranking": 3284
                },
                {
                  "player_name": "Brian Rodríguez",
                  "ranking": 3285
                },
                {
                  "player_name": "Gorrotxa",
                  "ranking": 3286
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "M_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "market_value_adjustment": 0.5846,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€15,500,000) applied for position M (quality factor 0.58)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position M (quality 0.58)",
              "stats": {
                "key_pass": 2,
                "assist_rate": 0.14,
                "assists": 0,
                "expected_assists": 0.159,
                "expected_goals": 0.102,
                "total_shots": 2,
                "total_pass": 56,
                "accurate_pass": 45,
                "ball_recovery": 6,
                "duels_won": 7,
                "rating": 7.1,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 16,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 70,
                "possession_lost": 9.1,
                "dispossessed": 0.9,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.08,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.068,
                "ball_carries": 33,
                "total_progression": 87,
                "progressive_carries": 8
              },
              "params": {
                "market_value_eur": 15500000,
                "quality_factor": 0.5846
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2,
                "assist_rate": 0.14,
                "assists": 0,
                "expected_assists": 0.159,
                "expected_goals": 0.102,
                "total_shots": 2,
                "total_pass": 56,
                "accurate_pass": 45,
                "ball_recovery": 6,
                "duels_won": 7,
                "rating": 7.1,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 16,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 70,
                "possession_lost": 9.1,
                "dispossessed": 0.9,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.08,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.068,
                "ball_carries": 33,
                "total_progression": 87,
                "progressive_carries": 8
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 2,
                "assist_rate": 0.14,
                "assists": 0,
                "expected_assists": 0.159,
                "expected_goals": 0.1131,
                "total_shots": 2,
                "total_pass": 56,
                "accurate_pass": 45,
                "ball_recovery": 6,
                "duels_won": 7,
                "rating": 7.1,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 16,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 70,
                "possession_lost": 9.1,
                "dispossessed": 0.9,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.0887,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0754,
                "ball_carries": 33,
                "total_progression": 87,
                "progressive_carries": 8,
                "duel_xg_multiplier": 1.1087,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.474,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedro Díaz",
                "opponent_faced": "Pedro Díaz",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pedro Díaz",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.474,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.1087,
                  "skill_edge": 0.0779,
                  "height_edge": -0.004,
                  "attacker_skill": 0.6134,
                  "defender_skill": 0.4402,
                  "xg_override": 0.1131
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.4,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 1.6,
                  "after": 1.7739
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.7,
                  "after": 0.7761
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.6,
                  "after": 0.6652
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.102,
                  "after": 0.1131
                },
                {
                  "stat": "goals",
                  "before": 0.08,
                  "after": 0.0887
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.07,
                  "after": 0.0776
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.068,
                  "after": 0.0754
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "key_pass": 2,
                "assist_rate": 0.14,
                "assists": 0,
                "expected_assists": 0.2231,
                "expected_goals": 0.1512,
                "total_shots": 2,
                "total_pass": 56,
                "accurate_pass": 45,
                "ball_recovery": 6,
                "duels_won": 7,
                "rating": 7.1,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 16,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 70,
                "possession_lost": 9.1,
                "dispossessed": 0.9,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.0887,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.1008,
                "ball_carries": 33,
                "total_progression": 87,
                "progressive_carries": 8,
                "duel_xg_multiplier": 1.1087,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.474,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedro Díaz",
                "opponent_faced": "Pedro Díaz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8504,
                "creation_factor": 0.9091
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1131,
                  "after": 0.1512
                },
                {
                  "stat": "expected_assists",
                  "before": 0.159,
                  "after": 0.2231
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "key_pass": 2,
                "assist_rate": 0.14,
                "assists": 0,
                "expected_assists": 0.2231,
                "expected_goals": 0.1512,
                "total_shots": 2,
                "total_pass": 56,
                "accurate_pass": 45,
                "ball_recovery": 6,
                "duels_won": 7,
                "rating": 7.1,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 16,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 70,
                "possession_lost": 9.1,
                "dispossessed": 0.9,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.0887,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.1008,
                "ball_carries": 33,
                "total_progression": 87,
                "progressive_carries": 8,
                "duel_xg_multiplier": 1.1087,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.474,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedro Díaz",
                "opponent_faced": "Pedro Díaz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8504,
                "creation_factor": 0.9091,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3281,
                "fifa_rank": 1573.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 2,
                "assist_rate": 0.14,
                "assists": 0,
                "expected_assists": 0.2231,
                "expected_goals": 0.1512,
                "total_shots": 2,
                "total_pass": 56,
                "accurate_pass": 45,
                "ball_recovery": 6,
                "duels_won": 7,
                "rating": 7.1,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 16,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 70,
                "possession_lost": 9.1,
                "dispossessed": 0.9,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.0887,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.1008,
                "ball_carries": 33,
                "total_progression": 87,
                "progressive_carries": 8,
                "duel_xg_multiplier": 1.1087,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.474,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedro Díaz",
                "opponent_faced": "Pedro Díaz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1403,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8504,
                "creation_factor": 0.9091,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1403,
                "scorer_weight": 0.1286,
                "squad_weight_total": 1.5788,
                "weight_share": 0.0814,
                "finishing_factor": 0.8504,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 2,
                "assist_rate": 0.14,
                "assists": 1,
                "expected_assists": 0.2231,
                "expected_goals": 0.1512,
                "total_shots": 2,
                "total_pass": 56,
                "accurate_pass": 45,
                "ball_recovery": 6,
                "duels_won": 7,
                "rating": 7.1,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 16,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 70,
                "possession_lost": 9.1,
                "dispossessed": 0.9,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.0887,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.1008,
                "ball_carries": 33,
                "total_progression": 87,
                "progressive_carries": 8,
                "duel_xg_multiplier": 1.1087,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.474,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedro Díaz",
                "opponent_faced": "Pedro Díaz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1403,
                "projected_assists": 1,
                "assist_probability": 0.2,
                "finishing_factor": 0.8504,
                "creation_factor": 0.9091,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.2,
                "provider_weight": 0.2028,
                "squad_weight_total": 1.0264,
                "weight_share": 0.1976,
                "creation_factor": 0.9091,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Peio Canales": {
          "player_id": 1464648,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 28,
          "height": 175,
          "market_value": 9700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1254,
            "assist_rate": 0.0869,
            "assists": 0,
            "expected_goals": 0.1247,
            "goal_rate": 0.0592,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8196,
            "minutes": 55,
            "total_pass": 34,
            "accurate_pass": 29,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 14,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 16,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 43,
            "possession_lost": 7.5426,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 15,
            "total_progression": 50,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 66.7,
            "shotConversion": 0.0,
            "minutesPct": 76.3,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "duel_xg_multiplier": 0.8548,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.0,
            "crosses_attempted": 2.0,
            "duel_win_rate": 0.381,
            "pressing_faced": "LOW",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Andrei Rațiu",
            "opponent_faced": "Andrei Rațiu",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1172,
            "projected_assists": 0,
            "assist_probability": 0.1179,
            "finishing_factor": 0.8,
            "creation_factor": 0.9821,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 15,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0337,
                "expected_assists": 0.0243,
                "total_shots": 1,
                "total_pass": 21,
                "accurate_pass": 20,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308.0,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 25,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0058,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0116,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 26,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1649,
                "expected_assists": 0.2617,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 69,
                "accurate_pass": 60,
                "key_pass": 3,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4167,
            "combined_rank_score": 2176.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 856.0,
            "sofascore_rating": 6.5667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3497.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8196,
            "source_file": "data/player_rankings.csv",
            "player_name": "Peio Canales",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Carlos Forbs",
                  "ranking": 4162
                },
                {
                  "player_name": "Kees Smit",
                  "ranking": 4163
                },
                {
                  "player_name": "Tjaronn Chery",
                  "ranking": 4164
                },
                {
                  "player_name": "Nick Olij",
                  "ranking": 4165
                },
                {
                  "player_name": "Anel Ahmedhodžić",
                  "ranking": 4166
                }
              ],
              "lower": [
                {
                  "player_name": "Vasilios Barkas",
                  "ranking": 4168
                },
                {
                  "player_name": "Charles Vanhoutte",
                  "ranking": 4169
                },
                {
                  "player_name": "Allan",
                  "ranking": 4170
                },
                {
                  "player_name": "Yoann Cathline",
                  "ranking": 4171
                },
                {
                  "player_name": "Mika Mármol",
                  "ranking": 4172
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.523,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.523,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0057,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 206.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.31,
              "shots_on_target_pct": 66.7,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.15, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0889,
                "assist_rate": 0.0914,
                "assists": 0,
                "expected_goals": 0.1085,
                "goal_rate": 0.073,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8196,
                "minutes": 55,
                "total_pass": 34,
                "accurate_pass": 29,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.5,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 50,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 15.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.892,
                  "expectedAssists": 0.0622,
                  "creative_index": 0.4848,
                  "creative_efficiency": 0.0271,
                  "shotValueNormalized": -0.0087,
                  "dribbleValueNormalized": 0.1246
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.0275143384933472,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1214
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.1047
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0534
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0471
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0465
                        }
                      ],
                      "others": 0.0439,
                      "total": 1.0275,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.123147
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.105197
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.058209
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.051511
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.048383
                        }
                      ],
                      "others_margin": 0.043656
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08887778222560883,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0047
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0035
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0034
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0028
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0023
                        }
                      ],
                      "others": 0.0034,
                      "total": 0.0889,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.05213
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.039154
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.038998
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.03282
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.026765
                        }
                      ],
                      "others_margin": 0.038666
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09144709259271622,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0124
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0048
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0035
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0024
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0022
                        }
                      ],
                      "others": -0.0046,
                      "total": 0.0914,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.136344
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.05086
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.03718
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.025575
                        },
                        {
                          "name": "touches",
                          "margin": 0.023591
                        }
                      ],
                      "others_margin": -0.049234
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1084567978978157,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0365
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0107
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0063
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0052
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0043
                        }
                      ],
                      "others": -0.0197,
                      "total": 0.1085,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.223087
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.075824
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.047821
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.041452
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.033958
                        }
                      ],
                      "others_margin": -0.166868
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07303379476070404,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0317
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0118
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0084
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0071
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0132,
                      "total": 0.073,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.241053
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.106853
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.083621
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.076969
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.031008
                        }
                      ],
                      "others_margin": -0.166162
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.24740640819072723,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0181
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0154
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0121
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0095
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0082
                        }
                      ],
                      "others": -0.0267,
                      "total": 0.2474,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "numberOfSprints",
                          "margin": -0.055038
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.049314
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.0405
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.033187
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.029299
                        }
                      ],
                      "others_margin": -0.102988
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8987064081907272,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.041
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0306
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0267
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0238
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0186
                        }
                      ],
                      "others": -0.0463,
                      "total": 0.8987,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "numberOfSprints",
                          "margin": -0.040988
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.030628
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.026702
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.023842
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.018586
                        }
                      ],
                      "others_margin": -0.046313
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.819576263427734,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0501
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0301
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0173
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0138
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0111
                        }
                      ],
                      "others": -0.0126,
                      "total": 6.8196,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.050059
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.030076
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.017324
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.013761
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.011052
                        }
                      ],
                      "others_margin": -0.012707
                    }
                  }
                ],
                "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.0057, quality 0.519)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0894,
                "assist_rate": 0.092,
                "assists": 0,
                "expected_goals": 0.1091,
                "goal_rate": 0.0734,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8196,
                "minutes": 55,
                "total_pass": 34,
                "accurate_pass": 29,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.5426,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 50,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 9700000,
                "quality_factor": 0.5189,
                "boost_factor": 1.0057
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0554)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0894,
                "assist_rate": 0.0869,
                "assists": 0,
                "expected_goals": 0.1091,
                "goal_rate": 0.0693,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8196,
                "minutes": 55,
                "total_pass": 34,
                "accurate_pass": 29,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.5426,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 50,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 66.7,
                "shotConversion": 0.0,
                "minutesPct": 76.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": -1.75
              },
              "params": {
                "blend_weight": 0.0554,
                "history_matches": 4,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0963
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0963
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2488,
                  "after": 0.2832
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "totalShots",
                  "before": 0.9038,
                  "after": 0.9263
                },
                {
                  "stat": "goalAssist",
                  "before": 0.092,
                  "after": 0.0869
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0894,
                "assist_rate": 0.0869,
                "assists": 0,
                "expected_goals": 0.1091,
                "goal_rate": 0.0693,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8196,
                "minutes": 55,
                "total_pass": 34,
                "accurate_pass": 29,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.5426,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 50,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 66.7,
                "shotConversion": 0.0,
                "minutesPct": 76.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0894,
                "assist_rate": 0.0869,
                "assists": 0,
                "expected_goals": 0.0933,
                "goal_rate": 0.0592,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8196,
                "minutes": 55,
                "total_pass": 34,
                "accurate_pass": 29,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.5426,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 50,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 66.7,
                "shotConversion": 0.0,
                "minutesPct": 76.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.8548,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.0,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.381,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Andrei Rațiu",
                "opponent_faced": "Andrei Rațiu",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Andrei Rațiu",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                  "duel_win_rate": 0.381,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.8548,
                  "skill_edge": -0.0667,
                  "height_edge": -0.032,
                  "attacker_skill": 0.5189,
                  "defender_skill": 0.6673,
                  "xg_override": 0.0933
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.9382,
                  "after": 0.802
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.655,
                  "after": 0.5599
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2832,
                  "after": 0.2421
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1091,
                  "after": 0.0933
                },
                {
                  "stat": "goals",
                  "before": 0.0693,
                  "after": 0.0592
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1254,
                "assist_rate": 0.0869,
                "assists": 0,
                "expected_goals": 0.1247,
                "goal_rate": 0.0592,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8196,
                "minutes": 55,
                "total_pass": 34,
                "accurate_pass": 29,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.5426,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 50,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 66.7,
                "shotConversion": 0.0,
                "minutesPct": 76.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.8548,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.0,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.381,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Andrei Rațiu",
                "opponent_faced": "Andrei Rațiu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9821
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0933,
                  "after": 0.1247
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0894,
                  "after": 0.1254
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 73.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1254,
                "assist_rate": 0.0869,
                "assists": 0,
                "expected_goals": 0.1247,
                "goal_rate": 0.0592,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8196,
                "minutes": 55,
                "total_pass": 34,
                "accurate_pass": 29,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.5426,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 50,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 66.7,
                "shotConversion": 0.0,
                "minutesPct": 76.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.8548,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.0,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.381,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Andrei Rațiu",
                "opponent_faced": "Andrei Rațiu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9821,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4167,
                "fifa_rank": 3497.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1254,
                "assist_rate": 0.0869,
                "assists": 0,
                "expected_goals": 0.1247,
                "goal_rate": 0.0592,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8196,
                "minutes": 55,
                "total_pass": 34,
                "accurate_pass": 29,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.5426,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 50,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 66.7,
                "shotConversion": 0.0,
                "minutesPct": 76.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.8548,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.0,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.381,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Andrei Rațiu",
                "opponent_faced": "Andrei Rațiu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1172,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9821,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1172,
                "scorer_weight": 0.0998,
                "squad_weight_total": 1.5788,
                "weight_share": 0.0632,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1254,
                "assist_rate": 0.0869,
                "assists": 0,
                "expected_goals": 0.1247,
                "goal_rate": 0.0592,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8196,
                "minutes": 55,
                "total_pass": 34,
                "accurate_pass": 29,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.5426,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 50,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 66.7,
                "shotConversion": 0.0,
                "minutesPct": 76.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.8548,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.0,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.381,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Andrei Rațiu",
                "opponent_faced": "Andrei Rațiu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1172,
                "projected_assists": 0,
                "assist_probability": 0.1179,
                "finishing_factor": 0.8,
                "creation_factor": 0.9821,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1179,
                "provider_weight": 0.1232,
                "squad_weight_total": 1.0264,
                "weight_share": 0.12,
                "creation_factor": 0.9821,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Gorka Guruzeta": {
          "player_id": 605672,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 11,
          "height": 188,
          "market_value": 4600000,
          "stats": {
            "expected_goals": 0.342,
            "goal_rate": 0.1315,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0608,
            "key_pass": 0,
            "rating": 6.6628,
            "minutes": 44,
            "total_pass": 8,
            "accurate_pass": 5,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 4.6891,
            "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,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "yellowCards": 1.1111,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 60.4,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "duel_xg_multiplier": 0.9968,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.198,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Mujaid Sadick, Marash Kumbulla",
            "opponent_faced": "Mujaid Sadick, Marash Kumbulla",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2897,
            "projected_assists": 0,
            "assist_probability": 0.059,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 14,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0047,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "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": 16416308.0,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 25,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2164,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 81,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 7,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 58,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.046,
                "expected_assists": 0.0127,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 13,
                "accurate_pass": 6,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2383,
            "combined_rank_score": 1054.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 864.0,
            "sofascore_rating": 6.56,
            "sofascore_appearances": 35.0,
            "fifa_rank": 1245.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6628,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gorka Guruzeta",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bayron Oyarzo",
                  "ranking": 2378
                },
                {
                  "player_name": "Ignacio Mesías",
                  "ranking": 2379
                },
                {
                  "player_name": "Virgiliu Postolachi",
                  "ranking": 2380
                },
                {
                  "player_name": "Jung Se-jun",
                  "ranking": 2381
                },
                {
                  "player_name": "Antonio Blanco",
                  "ranking": 2382
                }
              ],
              "lower": [
                {
                  "player_name": "Alfon González",
                  "ranking": 2384
                },
                {
                  "player_name": "Rashid Abubakar",
                  "ranking": 2385
                },
                {
                  "player_name": "Fredrik André Bjørkan",
                  "ranking": 2386
                },
                {
                  "player_name": "Carlos Escobar",
                  "ranking": 2387
                },
                {
                  "player_name": "Daniel Londoño",
                  "ranking": 2388
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.518,
          "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.518,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9872,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 163.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.1,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.12
            },
            "rationale": "XGBoost regressor (F_service) evaluated 4 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.12, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.26,
                "goal_rate": 0.1397,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0439,
                "key_pass": 0,
                "rating": 6.6628,
                "minutes": 44,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 4.75,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 0.3854,
                  "minutesPlayed": 40.6046,
                  "shotValueNormalized": -0.0308,
                  "accuratePass": 4.4851,
                  "expectedAssists": 0.062
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.26000988483428955,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0574
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0541
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0322
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0222
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0181
                        }
                      ],
                      "others": -0.0268,
                      "total": 0.26,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.172288
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.163283
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.093864
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.070274
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.06107
                        }
                      ],
                      "others_margin": -0.098358
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13966290652751923,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0435
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0294
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0224
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0134
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0069
                        }
                      ],
                      "others": -0.0313,
                      "total": 0.1397,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.164509
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.128904
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.110676
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.072744
                        },
                        {
                          "name": "topSpeed",
                          "margin": -0.039609
                        }
                      ],
                      "others_margin": -0.202486
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2635234594345093,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.144
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.105
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0303
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0184
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0168
                        }
                      ],
                      "others": -0.0476,
                      "total": 0.2635,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.280548
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.269409
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.093397
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.057837
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.05263
                        }
                      ],
                      "others_margin": -0.165806
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7730270028114319,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2423
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1213
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0848
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0653
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0407
                        }
                      ],
                      "others": -0.1078,
                      "total": 0.773,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.242314
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.121338
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.08478
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.06531
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.040694
                        }
                      ],
                      "others_margin": -0.107731
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.043909527361392975,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0068
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0065
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0022
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0017
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0017
                        }
                      ],
                      "others": -0.0136,
                      "total": 0.0439,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.119501
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.115109
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.038298
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.029893
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.028951
                        }
                      ],
                      "others_margin": -0.271253
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3998446762561798,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.2436
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0194
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0134
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0115
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0114
                        }
                      ],
                      "others": -0.0637,
                      "total": 0.3998,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.444984
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.043624
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.02996
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.025664
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.024899
                        }
                      ],
                      "others_margin": -0.147639
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.66275691986084,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0353
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0312
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0276
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0226
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0139
                        }
                      ],
                      "others": -0.0768,
                      "total": 6.6628,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.035303
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.031207
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.027631
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.022593
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.01393
                        }
                      ],
                      "others_margin": -0.076803
                    }
                  }
                ],
                "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.9872, quality 0.457)",
              "stats": {
                "expected_goals": 0.2567,
                "goal_rate": 0.1379,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0433,
                "key_pass": 0,
                "rating": 6.6628,
                "minutes": 44,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 4.6891,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 4600000,
                "quality_factor": 0.4572,
                "boost_factor": 0.9872
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0433)",
              "stats": {
                "expected_goals": 0.2567,
                "goal_rate": 0.1319,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0433,
                "key_pass": 0,
                "rating": 6.6628,
                "minutes": 44,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 4.6891,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 1.1111,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 60.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": -2.21
              },
              "params": {
                "blend_weight": 0.0433,
                "history_matches": 4,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0963
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "totalShots",
                  "before": 0.7631,
                  "after": 0.7777
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2601,
                  "after": 0.2488
                },
                {
                  "stat": "goals",
                  "before": 0.1379,
                  "after": 0.1319
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2567,
                "goal_rate": 0.1319,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0433,
                "key_pass": 0,
                "rating": 6.6628,
                "minutes": 44,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 4.6891,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 1.1111,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 60.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.2559,
                "goal_rate": 0.1315,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0433,
                "key_pass": 0,
                "rating": 6.6628,
                "minutes": 44,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 4.6891,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 1.1111,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 60.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.9968,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.198,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Mujaid Sadick, Marash Kumbulla",
                "opponent_faced": "Mujaid Sadick, Marash Kumbulla",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Mujaid Sadick, Marash Kumbulla",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.198,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9968,
                  "skill_edge": -0.0022,
                  "height_edge": 0.0,
                  "attacker_skill": 0.4572,
                  "defender_skill": 0.4621,
                  "xg_override": 0.2559
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.342,
                "goal_rate": 0.1315,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0608,
                "key_pass": 0,
                "rating": 6.6628,
                "minutes": 44,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 4.6891,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 1.1111,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 60.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.9968,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.198,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Mujaid Sadick, Marash Kumbulla",
                "opponent_faced": "Mujaid Sadick, Marash Kumbulla",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2559,
                  "after": 0.342
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0433,
                  "after": 0.0608
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.342,
                "goal_rate": 0.1315,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0608,
                "key_pass": 0,
                "rating": 6.6628,
                "minutes": 44,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 4.6891,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 1.1111,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 60.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.9968,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.198,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Mujaid Sadick, Marash Kumbulla",
                "opponent_faced": "Mujaid Sadick, Marash Kumbulla",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2383,
                "fifa_rank": 1245.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.342,
                "goal_rate": 0.1315,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0608,
                "key_pass": 0,
                "rating": 6.6628,
                "minutes": 44,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 4.6891,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 1.1111,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 60.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.9968,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.198,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Mujaid Sadick, Marash Kumbulla",
                "opponent_faced": "Mujaid Sadick, Marash Kumbulla",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2897,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.2897,
                "scorer_weight": 0.2736,
                "squad_weight_total": 1.5788,
                "weight_share": 0.1733,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.342,
                "goal_rate": 0.1315,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0608,
                "key_pass": 0,
                "rating": 6.6628,
                "minutes": 44,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 4.6891,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 1.1111,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 60.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.9968,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.198,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Mujaid Sadick, Marash Kumbulla",
                "opponent_faced": "Mujaid Sadick, Marash Kumbulla",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2897,
                "projected_assists": 0,
                "assist_probability": 0.059,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.059,
                "provider_weight": 0.0486,
                "squad_weight_total": 1.0264,
                "weight_share": 0.0474,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Alex Padilla": {
          "player_id": 1155116,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 190,
          "market_value": 3100000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.022,
            "rating": 6.8,
            "minutes": 4,
            "total_pass": 1,
            "accurate_pass": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "touches": 2,
            "clearances": 0,
            "ball_recovery": 0,
            "high_claims": 0,
            "punches": 0.0147,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1173,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.957,
            "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": 69.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 5722,
            "combined_rank_score": 3995.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 1018.0,
            "sofascore_rating": 5.1,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6972.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alex Padilla",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Elmin Rastoder",
                  "ranking": 5717
                },
                {
                  "player_name": "Max Bird",
                  "ranking": 5718
                },
                {
                  "player_name": "Rob Atkinson",
                  "ranking": 5719
                },
                {
                  "player_name": "Tariq Lamptey",
                  "ranking": 5720
                },
                {
                  "player_name": "Liberato Cacace",
                  "ranking": 5721
                }
              ],
              "lower": [
                {
                  "player_name": "Jordan Beyer",
                  "ranking": 5723
                },
                {
                  "player_name": "Nathan Wood",
                  "ranking": 5724
                },
                {
                  "player_name": "Tomoki Iwata",
                  "ranking": 5725
                },
                {
                  "player_name": "Harrison Burrows",
                  "ranking": 5726
                },
                {
                  "player_name": "Pelle Mattsson",
                  "ranking": 5727
                }
              ]
            }
          },
          "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.397143516617772,
            "bench_appearance_prob": 0.10896106893717145,
            "market_value_adjustment": 0.4387,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "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 (€3,100,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": 9,
                "accurate_long_balls": 4,
                "touches": 32,
                "clearances": 1,
                "ball_recovery": 1,
                "high_claims": 1,
                "punches": 0.3,
                "aerial_won": 1,
                "sweeper_actions": 1,
                "sweeper_accurate": 1,
                "saves_inside_box": 1,
                "possession_lost": 2.4,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16
              },
              "params": {
                "market_value_eur": 3100000,
                "quality_factor": 0.4387
              }
            },
            {
              "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": 9,
                "accurate_long_balls": 4,
                "touches": 32,
                "clearances": 1,
                "ball_recovery": 1,
                "high_claims": 1,
                "punches": 0.3,
                "aerial_won": 1,
                "sweeper_actions": 1,
                "sweeper_accurate": 1,
                "saves_inside_box": 1,
                "possession_lost": 2.4,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16
              },
              "params": {
                "blend_weight": 0.0,
                "history_matches": 0,
                "prior_reliability": 0.0,
                "competition": "La Liga",
                "squad": "Athletic Club"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0147,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1173,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4
              },
              "params": {
                "expected_minutes": 4.4,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0147,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1173,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 69.0; not used by the projection)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0147,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1173,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "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": 69.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5722,
                "fifa_rank": 6972.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            }
          ]
        },
        "Hugo Rincón": {
          "player_id": 1632454,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 15,
          "height": 183,
          "market_value": 3400000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.6389,
            "minutes": 15,
            "total_pass": 2,
            "accurate_pass": 2,
            "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": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 4,
            "possession_lost": 0.9291,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0017,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 3,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 39.6,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.41,
            "bench_expected_minutes": 15.47,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.957,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0075,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 8,
                "tackles": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 16,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0055,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 11,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3590,
            "combined_rank_score": 1558.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 696.0,
            "sofascore_rating": 6.703,
            "sofascore_appearances": 33.0,
            "fifa_rank": 2420.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6389,
            "source_file": "data/player_rankings.csv",
            "player_name": "Hugo Rincón",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Álvaro Ferllo",
                  "ranking": 3585
                },
                {
                  "player_name": "Sivera",
                  "ranking": 3586
                },
                {
                  "player_name": "Kike García",
                  "ranking": 3587
                },
                {
                  "player_name": "Ephron Mason-Clark",
                  "ranking": 3588
                },
                {
                  "player_name": "Zubeldia",
                  "ranking": 3589
                }
              ],
              "lower": [
                {
                  "player_name": "Christos Zafeiris",
                  "ranking": 3591
                },
                {
                  "player_name": "Luiz Felipe",
                  "ranking": 3592
                },
                {
                  "player_name": "Catena",
                  "ranking": 3593
                },
                {
                  "player_name": "Arijanet Murić",
                  "ranking": 3594
                },
                {
                  "player_name": "Puado",
                  "ranking": 3595
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.387,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.387,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 15.47,
            "bench_appearance_prob": 0.41,
            "market_value_adjustment": 0.9827,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 17.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.08
            },
            "rationale": "Bench projection scaled from XGBoost D_service (2 historical appearances) to 15.5 expected mins (appearance prob 0.41); FBref playing time empirical prior: 1.0 sub appearances, 17.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": 0,
                "total_shots": 0,
                "rating": 6.6389,
                "minutes": 53,
                "total_pass": 12,
                "accurate_pass": 10,
                "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": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 5.5,
                "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": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 15,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 0.4595,
                  "defensive_actions": 1.0811,
                  "wonTackle": 0.0,
                  "totalTackle_p90": 0.5405,
                  "totalClearance_p90": 2.5845,
                  "aerialWon": 0.5405
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.6226571798324585,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1165
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0721
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0329
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0291
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0196
                        }
                      ],
                      "others": -0.0763,
                      "total": 0.6227,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.138116
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.096141
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.045006
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.039717
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.02759
                        }
                      ],
                      "others_margin": -0.115569
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1196064949035645,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0914
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0726
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0391
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0299
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0141
                        }
                      ],
                      "others": 0.0072,
                      "total": 1.1196,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.071107
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.060342
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.034078
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.026841
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.012778
                        }
                      ],
                      "others_margin": 0.006401
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6094509959220886,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.163
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0454
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0277
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0172
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0144
                        }
                      ],
                      "others": -0.0392,
                      "total": 0.6095,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.219908
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.066222
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.039965
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.025645
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.021974
                        }
                      ],
                      "others_margin": -0.062315
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.5235451459884644,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.7946
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4612
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1872
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0842
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0585
                        }
                      ],
                      "others": -0.2784,
                      "total": 1.5235,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.267315
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.19584
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.091921
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.044248
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.03193
                        }
                      ],
                      "others_margin": -0.167828
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.41213396191596985,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.5352
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1683
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0422
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0317
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.028
                        }
                      ],
                      "others": -0.1155,
                      "total": 0.4121,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.54735
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.260333
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.077459
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.058662
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.051716
                        }
                      ],
                      "others_margin": -0.246928
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.2787,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.057
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0568
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0548
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0345
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0227
                        }
                      ],
                      "others": 0.0285,
                      "total": 0.2787,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "minutesPlayed",
                          "margin": -0.056986
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.05684
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.054819
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.034515
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.022741
                        }
                      ],
                      "others_margin": 0.028538
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.638852596282959,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0527
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0368
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0345
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0184
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0132
                        }
                      ],
                      "others": -0.0691,
                      "total": 6.6389,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.052667
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.036843
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.03451
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.018389
                        },
                        {
                          "name": "touches",
                          "margin": -0.013183
                        }
                      ],
                      "others_margin": -0.06914
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9827, quality 0.442)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.6389,
                "minutes": 53,
                "total_pass": 11,
                "accurate_pass": 9,
                "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": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 5.405,
                "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": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0098,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 15,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 3400000,
                "quality_factor": 0.4424,
                "boost_factor": 0.9827
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0371)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.6389,
                "minutes": 53,
                "total_pass": 11,
                "accurate_pass": 9,
                "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": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 5.405,
                "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": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0098,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 15,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 39.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": -1.68
              },
              "params": {
                "blend_weight": 0.0371,
                "history_matches": 2,
                "prior_reliability": 0.08,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0619
                },
                {
                  "stat": "wasFouled",
                  "before": 1.9654,
                  "after": 2.0162
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.031
                },
                {
                  "stat": "wonTackle",
                  "before": 0.5989,
                  "after": 0.5767
                },
                {
                  "stat": "totalShots",
                  "before": 0.2739,
                  "after": 0.2637
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.6119,
                  "after": 0.6201
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 15.5 expected minutes (appearance prob 0.41)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.6389,
                "minutes": 15,
                "total_pass": 2,
                "accurate_pass": 2,
                "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": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.9291,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0017,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 3,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 39.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.41,
                "bench_expected_minutes": 15.47
              },
              "params": {
                "expected_minutes": 15.47,
                "appearance_probability": 0.41
              }
            },
            {
              "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.6389,
                "minutes": 15,
                "total_pass": 2,
                "accurate_pass": 2,
                "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": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.9291,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0017,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 3,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 39.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.41,
                "bench_expected_minutes": 15.47
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.6389,
                "minutes": 15,
                "total_pass": 2,
                "accurate_pass": 2,
                "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": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.9291,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0017,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 3,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 39.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.41,
                "bench_expected_minutes": 15.47,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3590,
                "fifa_rank": 2420.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            }
          ]
        },
        "Adama Boiro": {
          "player_id": 1398511,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 0,
          "height": 182,
          "market_value": 2300000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.4816,
            "minutes": 18,
            "total_pass": 2,
            "accurate_pass": 1,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 3,
            "possession_lost": 0.3851,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 5,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 7.8,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.602,
            "bench_expected_minutes": 17.66,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.957,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 20,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7,
                "interceptions": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 4188,
            "combined_rank_score": 2218.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 941.0,
            "sofascore_rating": 6.45,
            "sofascore_appearances": 14.0,
            "fifa_rank": 3496.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.4816,
            "source_file": "data/player_rankings.csv",
            "player_name": "Adama Boiro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Brian Aguirre",
                  "ranking": 4183
                },
                {
                  "player_name": "Christian Fassnacht",
                  "ranking": 4184
                },
                {
                  "player_name": "Aliou Dieng",
                  "ranking": 4185
                },
                {
                  "player_name": "Giacomo Quagliata",
                  "ranking": 4186
                },
                {
                  "player_name": "Abdul Fatawu",
                  "ranking": 4187
                }
              ],
              "lower": [
                {
                  "player_name": "Radek Vítek",
                  "ranking": 4189
                },
                {
                  "player_name": "Gonzalo",
                  "ranking": 4190
                },
                {
                  "player_name": "José Sosa",
                  "ranking": 4191
                },
                {
                  "player_name": "Jason Knight",
                  "ranking": 4192
                },
                {
                  "player_name": "Pablo Marín",
                  "ranking": 4193
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.314,
          "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.314,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 17.66,
            "bench_appearance_prob": 0.602,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 21.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0133
            },
            "rationale": "Bench projection scaled from XGBoost D_service (1 historical appearances) to 17.7 expected mins (appearance prob 0.60); FBref playing time empirical prior: 1.0 sub appearances, 21.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": 0,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 20,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 2.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 24,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.0,
                  "defensive_actions": 1.0,
                  "wonTackle": 0.0,
                  "totalTackle_p90": 0.0,
                  "totalClearance_p90": 4.5,
                  "aerialWon": 0.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7427576184272766,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2007
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.1504
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0808
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0717
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0296
                        }
                      ],
                      "others": -0.0716,
                      "total": 0.7428,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.251285
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.194018
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.099527
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.08873
                        },
                        {
                          "name": "touches",
                          "margin": -0.035663
                        }
                      ],
                      "others_margin": -0.092028
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.6527763605117798,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.3809
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.1146
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0709
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0374
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0216
                        }
                      ],
                      "others": -0.0531,
                      "total": 0.6528,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.337011
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.128456
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.088703
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.05009
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.030135
                        }
                      ],
                      "others_margin": -0.078291
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.4367741346359253,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.2427
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0567
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0254
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0199
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0169
                        }
                      ],
                      "others": -0.0272,
                      "total": 0.4368,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.34809
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.102335
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.049381
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.040586
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.035819
                        }
                      ],
                      "others_margin": -0.060516
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.5700132846832275,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.8103
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4742
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1762
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.1011
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0953
                        }
                      ],
                      "others": -0.1605,
                      "total": 1.57,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.273398
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.203357
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.087514
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.053915
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.05361
                        }
                      ],
                      "others_margin": -0.097244
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.34029439091682434,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.6416
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.136
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0364
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0334
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0192
                        }
                      ],
                      "others": -0.0627,
                      "total": 0.3403,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.703872
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.24401
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.076756
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.076217
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.046545
                        }
                      ],
                      "others_margin": -0.169262
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.23940548300743103,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0737
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0443
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0422
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0382
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0248
                        }
                      ],
                      "others": -0.063,
                      "total": 0.2394,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "minutesPlayed",
                          "margin": -0.073669
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.044319
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.042223
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.038213
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.024767
                        }
                      ],
                      "others_margin": -0.062982
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.481632709503174,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.084
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0517
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0511
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0176
                        },
                        {
                          "name": "touches",
                          "contribution": -0.014
                        }
                      ],
                      "others": -0.0578,
                      "total": 6.4816,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.083999
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.051684
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.051061
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.01763
                        },
                        {
                          "name": "touches",
                          "margin": -0.013992
                        }
                      ],
                      "others_margin": -0.057788
                    }
                  }
                ],
                "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": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 20,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 1.9625,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 24,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 2300000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0072)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 20,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 1.9625,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 24,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": -4.29
              },
              "params": {
                "blend_weight": 0.0072,
                "history_matches": 1,
                "prior_reliability": 0.0133,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.7288,
                  "after": 0.7596
                },
                {
                  "stat": "wasFouled",
                  "before": 0.9812,
                  "after": 1.0102
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 17.7 expected minutes (appearance prob 0.60)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 18,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.3851,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 17.66
              },
              "params": {
                "expected_minutes": 17.66,
                "appearance_probability": 0.602
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 18,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.3851,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 17.66
              },
              "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 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 18,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.3851,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 17.66,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 0.602
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 73.0; not used by the projection)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 18,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.3851,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 17.66,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4188,
                "fifa_rank": 3496.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 18,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.3851,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 17.66,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.5788,
                "weight_share": 0.0006,
                "finishing_factor": 1.0,
                "appearance_weight": 0.602,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 18,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.3851,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 17.66,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.001,
                "squad_weight_total": 1.0264,
                "weight_share": 0.001,
                "creation_factor": 1.0,
                "appearance_weight": 0.602,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Iñaki Williams": {
          "player_id": 783374,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 186,
          "market_value": 7300000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0118,
            "assist_rate": 0.0209,
            "assists": 0,
            "expected_goals": 0.0463,
            "goal_rate": 0.0718,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7534,
            "minutes": 22,
            "total_pass": 2,
            "accurate_pass": 1,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 0,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 5,
            "possession_lost": 1.9241,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 5,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 100.0,
            "shotConversion": 0.0,
            "minutesPct": 66.7,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.311,
            "bench_expected_minutes": 22.18,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.957,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1997,
                "expected_assists": 0.001,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 5,
                "accurate_pass": 4,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322.0,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 81,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5318,
                "expected_assists": 0.0008,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 6,
                "accurate_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 66,
                "rating": 6.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1691,
                "expected_assists": 0.0271,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 8,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308.0,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 65,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.686,
                "expected_assists": 0.0255,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 13,
                "accurate_pass": 8,
                "key_pass": 1,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 60,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 2,
                "tackles": 1,
                "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": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 58,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1497,
                "expected_assists": 0.0233,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 12,
                "accurate_pass": 8,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2065,
            "combined_rank_score": 785.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 821.0,
            "sofascore_rating": 6.6033,
            "sofascore_appearances": 30.0,
            "fifa_rank": 749.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7534,
            "source_file": "data/player_rankings.csv",
            "player_name": "Iñaki Williams",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jonas Weissenhofer",
                  "ranking": 2060
                },
                {
                  "player_name": "Manolis Siopis",
                  "ranking": 2061
                },
                {
                  "player_name": "Diego Antonio Sabando Sanhueza",
                  "ranking": 2062
                },
                {
                  "player_name": "Lee Kyu-Min",
                  "ranking": 2063
                },
                {
                  "player_name": "Salem Al Dawsari",
                  "ranking": 2064
                }
              ],
              "lower": [
                {
                  "player_name": "Youssef En-Nesyri",
                  "ranking": 2066
                },
                {
                  "player_name": "Dominic Calvert-Lewin",
                  "ranking": 2067
                },
                {
                  "player_name": "Kim Jong-Seok",
                  "ranking": 2068
                },
                {
                  "player_name": "Ariel Cáceres",
                  "ranking": 2069
                },
                {
                  "player_name": "Lucas Zelarayán",
                  "ranking": 2070
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.645,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.645,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.181390997643526,
            "bench_appearance_prob": 0.311,
            "market_value_adjustment": 0.9971,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.5,
              "prior_reliability": 0.1333
            },
            "rationale": "Bench projection scaled from XGBoost M_service (6 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 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.048,
                "assist_rate": 0.0679,
                "assists": 0,
                "expected_goals": 0.1884,
                "goal_rate": 0.3043,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.7534,
                "minutes": 65,
                "total_pass": 9,
                "accurate_pass": 5,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 7.83,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 19,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 0.0,
                  "totalShots": 2.1273,
                  "expectedAssists": 0.0114,
                  "creative_index": 0.2907,
                  "creative_efficiency": 0.0074,
                  "shotValueNormalized": -0.3737,
                  "dribbleValueNormalized": 0.252
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6886307001113892,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1123
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0605
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0375
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0261
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0227
                        }
                      ],
                      "others": -0.0766,
                      "total": 0.6886,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.129163
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.077174
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.050963
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.035849
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.030079
                        }
                      ],
                      "others_margin": -0.105529
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0480215847492218,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0327
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0043
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0039
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0029
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0027
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.048,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.470694
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.081754
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.075574
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.055191
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.051853
                        }
                      ],
                      "others_margin": -0.116701
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.0678606629371643,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0124
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0078
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0048
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0036
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0016
                        }
                      ],
                      "others": 0.0002,
                      "total": 0.0679,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.157612
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.112911
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.070644
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.052771
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.023406
                        }
                      ],
                      "others_margin": 0.002387
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1884140819311142,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0131
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0109
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.008
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0074
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0073
                        }
                      ],
                      "others": 0.0115,
                      "total": 0.1884,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.069411
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.05711
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.044022
                        },
                        {
                          "name": "intensity_index",
                          "margin": 0.040941
                        },
                        {
                          "name": "kilometersCovered",
                          "margin": -0.040561
                        }
                      ],
                      "others_margin": 0.062537
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.3042566478252411,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0656
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0172
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0139
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0147
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0142
                        }
                      ],
                      "others": 0.0652,
                      "total": 0.3043,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.366933
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.083801
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.068227
                        },
                        {
                          "name": "intensity_index",
                          "margin": 0.067558
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.061251
                        }
                      ],
                      "others_margin": 0.241113
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.62037593126297,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1343
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0475
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0433
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0199
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0193
                        }
                      ],
                      "others": 0.1053,
                      "total": 0.6204,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.334945
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.095982
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.087054
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.040864
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.038243
                        }
                      ],
                      "others_margin": 0.185986
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.52767593126297,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.4084
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0787
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0739
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0571
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0416
                        }
                      ],
                      "others": -0.0223,
                      "total": 1.5277,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.408445
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.078672
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.073912
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.0571
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.041597
                        }
                      ],
                      "others_margin": -0.022308
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7534332275390625,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0373
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0357
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0335
                        },
                        {
                          "name": "touches",
                          "contribution": -0.031
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0298
                        }
                      ],
                      "others": -0.0657,
                      "total": 6.7534,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.037259
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.0357
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.033538
                        },
                        {
                          "name": "touches",
                          "margin": -0.030984
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.029774
                        }
                      ],
                      "others_margin": -0.06569
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9971, quality 0.490)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0479,
                "assist_rate": 0.0677,
                "assists": 0,
                "expected_goals": 0.1879,
                "goal_rate": 0.3034,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.7534,
                "minutes": 65,
                "total_pass": 9,
                "accurate_pass": 5,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 7.8071,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 19,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 7300000,
                "quality_factor": 0.4903,
                "boost_factor": 0.9971
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0394)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0479,
                "assist_rate": 0.0847,
                "assists": 0,
                "expected_goals": 0.1879,
                "goal_rate": 0.2915,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.7534,
                "minutes": 65,
                "total_pass": 9,
                "accurate_pass": 5,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 7.8071,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 19,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": -1.0
              },
              "params": {
                "blend_weight": 0.0394,
                "history_matches": 6,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0591
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6186,
                  "after": 0.673
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0394
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0394
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0197
                },
                {
                  "stat": "totalShots",
                  "before": 1.5232,
                  "after": 1.542
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0677,
                  "after": 0.0847
                },
                {
                  "stat": "goals",
                  "before": 0.3034,
                  "after": 0.2915
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.2 expected minutes (appearance prob 0.31)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0118,
                "assist_rate": 0.0209,
                "assists": 0,
                "expected_goals": 0.0463,
                "goal_rate": 0.0718,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7534,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.9241,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.311,
                "bench_expected_minutes": 22.18
              },
              "params": {
                "expected_minutes": 22.18,
                "appearance_probability": 0.311
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0118,
                "assist_rate": 0.0209,
                "assists": 0,
                "expected_goals": 0.0463,
                "goal_rate": 0.0718,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7534,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.9241,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.311,
                "bench_expected_minutes": 22.18
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0118,
                "assist_rate": 0.0209,
                "assists": 0,
                "expected_goals": 0.0463,
                "goal_rate": 0.0718,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7534,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 1.9241,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.311,
                "bench_expected_minutes": 22.18,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2065,
                "fifa_rank": 749.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            }
          ]
        },
        "Robert Navarro": {
          "player_id": 944165,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 23,
          "height": 178,
          "market_value": 6500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0294,
            "assist_rate": 0.0237,
            "assists": 0,
            "expected_goals": 0.0492,
            "goal_rate": 0.0624,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.9174,
            "minutes": 22,
            "total_pass": 6,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 10,
            "possession_lost": 2.2992,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 13,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.506,
            "bench_expected_minutes": 22.14,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.957,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 75,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1533,
                "expected_assists": 0.1992,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 30,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322.0,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 72,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2942,
                "expected_assists": 0.1134,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 19,
                "key_pass": 4,
                "tackles": 1,
                "interceptions": 3,
                "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": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 66,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1954,
                "expected_assists": 0.0827,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 2,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308.0,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 74,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7256,
                "expected_assists": 0.0381,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 34,
                "accurate_pass": 31,
                "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": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 30,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0384,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "interceptions": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3133,
            "combined_rank_score": 1100.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 229.0,
            "sofascore_rating": 7.15,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1972.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9174,
            "source_file": "data/player_rankings.csv",
            "player_name": "Robert Navarro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Diego Conde",
                  "ranking": 3128
                },
                {
                  "player_name": "Lawrence Shankland",
                  "ranking": 3129
                },
                {
                  "player_name": "Cameron Carter-Vickers",
                  "ranking": 3130
                },
                {
                  "player_name": "Patrick Wimmer",
                  "ranking": 3131
                },
                {
                  "player_name": "Thomas Lemar",
                  "ranking": 3132
                }
              ],
              "lower": [
                {
                  "player_name": "Luka Sučić",
                  "ranking": 3134
                },
                {
                  "player_name": "Che Adams",
                  "ranking": 3135
                },
                {
                  "player_name": "Carlos Vicente",
                  "ranking": 3136
                },
                {
                  "player_name": "Lautaro Di Lollo",
                  "ranking": 3137
                },
                {
                  "player_name": "Hugo Larsson",
                  "ranking": 3138
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.562,
          "history_matches": 5,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 5,
            "data_confidence": 0.562,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.14294752708981,
            "bench_appearance_prob": 0.5064976148677187,
            "market_value_adjustment": 0.9942,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (5 historical appearances) to 22.1 expected mins (appearance prob 0.51)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.12,
                "assist_rate": 0.0968,
                "assists": 0,
                "expected_goals": 0.201,
                "goal_rate": 0.2553,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.9174,
                "minutes": 63,
                "total_pass": 23,
                "accurate_pass": 19,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 9.4,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 54,
                "progressive_carries": 3,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 0.0,
                  "totalShots": 2.0286,
                  "expectedAssists": 0.1075,
                  "creative_index": 0.617,
                  "creative_efficiency": 0.0763,
                  "shotValueNormalized": -0.1064,
                  "dribbleValueNormalized": 0.297
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.3049993515014648,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1303
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0479
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0413
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0298
                        },
                        {
                          "name": "accurateCross",
                          "contribution": 0.0297
                        }
                      ],
                      "others": 0.1589,
                      "total": 1.305,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.131582
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.044359
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.036678
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.026306
                        },
                        {
                          "name": "accurateCross",
                          "margin": 0.026293
                        }
                      ],
                      "others_margin": 0.129744
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.12001524865627289,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0088
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0061
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0059
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0038
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0036
                        }
                      ],
                      "others": 0.0118,
                      "total": 0.12,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.095613
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.06205
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.055834
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.0347
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.032723
                        }
                      ],
                      "others_margin": 0.103582
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09682261943817139,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": 0.0075
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0074
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.003
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0025
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0001,
                      "total": 0.0968,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": 0.084307
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.076802
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.03095
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.026296
                        },
                        {
                          "name": "touches",
                          "margin": 0.025507
                        }
                      ],
                      "others_margin": -0.000804
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.20097321271896362,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0162
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0134
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0114
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0041
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0039
                        }
                      ],
                      "others": 0.0,
                      "total": 0.201,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.084767
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.065069
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.054996
                        },
                        {
                          "name": "intensity_index",
                          "margin": 0.020153
                        },
                        {
                          "name": "kilometersCovered",
                          "margin": -0.019324
                        }
                      ],
                      "others_margin": 5.7e-05
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.255337655544281,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0729
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0274
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0157
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0102
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0101
                        }
                      ],
                      "others": 0.0573,
                      "total": 0.2553,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.400845
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.132627
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.084434
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.055693
                        },
                        {
                          "name": "intensity_index",
                          "margin": 0.052559
                        }
                      ],
                      "others_margin": 0.253961
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.614894449710846,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1707
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0293
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0253
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0175
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0146
                        }
                      ],
                      "others": 0.0201,
                      "total": 0.6149,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.409294
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.05599
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.046074
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.030679
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.024897
                        }
                      ],
                      "others_margin": 0.033156
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.436094449710846,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.388
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0653
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.062
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0384
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0324
                        }
                      ],
                      "others": 0.0665,
                      "total": 1.4361,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.387987
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.065272
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.062031
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.038378
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.032403
                        }
                      ],
                      "others_margin": 0.066518
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.917446136474609,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0366
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0366
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0357
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0295
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0122
                        }
                      ],
                      "others": -0.0198,
                      "total": 6.9174,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.036636
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.036631
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.035726
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.02948
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.012155
                        }
                      ],
                      "others_margin": -0.019665
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9942, quality 0.481)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1193,
                "assist_rate": 0.0963,
                "assists": 0,
                "expected_goals": 0.1998,
                "goal_rate": 0.2538,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.9174,
                "minutes": 63,
                "total_pass": 22,
                "accurate_pass": 19,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 9.3451,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 53,
                "progressive_carries": 3,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 6500000,
                "quality_factor": 0.4805,
                "boost_factor": 0.9942
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.1 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0294,
                "assist_rate": 0.0237,
                "assists": 0,
                "expected_goals": 0.0492,
                "goal_rate": 0.0624,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.9174,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 2.2992,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 13,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.14
              },
              "params": {
                "expected_minutes": 22.14,
                "appearance_probability": 0.506
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0294,
                "assist_rate": 0.0237,
                "assists": 0,
                "expected_goals": 0.0492,
                "goal_rate": 0.0624,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.9174,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 2.2992,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 13,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.14
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0294,
                "assist_rate": 0.0237,
                "assists": 0,
                "expected_goals": 0.0492,
                "goal_rate": 0.0624,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.9174,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 2.2992,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 13,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.14,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3133,
                "fifa_rank": 1972.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Álvaro Djaló": {
          "player_id": 1160960,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 25,
          "height": 176,
          "market_value": 4300000,
          "stats": {
            "expected_goals": 0.0393,
            "goal_rate": 0.0248,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0052,
            "key_pass": 0,
            "rating": 6.6063,
            "minutes": 17,
            "total_pass": 0,
            "accurate_pass": 0,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 1,
            "possession_lost": 0.5558,
            "dispossessed": 1.9721,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 3.7,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.72,
            "bench_expected_minutes": 16.91,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.957,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0277,
            "projected_assists": 0,
            "assist_probability": 0.0037,
            "finishing_factor": 0.9421,
            "creation_factor": 0.9311,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 9,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3960,
            "combined_rank_score": 1935.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 959.0,
            "sofascore_rating": 6.4,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2911.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6063,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álvaro Djaló",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Albert Rusnák",
                  "ranking": 3955
                },
                {
                  "player_name": "Diego Valdés",
                  "ranking": 3956
                },
                {
                  "player_name": "Timo Werner",
                  "ranking": 3957
                },
                {
                  "player_name": "Mateusz Bogusz",
                  "ranking": 3958
                },
                {
                  "player_name": "Aritz Elustondo",
                  "ranking": 3959
                }
              ],
              "lower": [
                {
                  "player_name": "Allan Saint-Maximin",
                  "ranking": 3961
                },
                {
                  "player_name": "Milot Rashica",
                  "ranking": 3962
                },
                {
                  "player_name": "Jeppe Tverskov",
                  "ranking": 3963
                },
                {
                  "player_name": "Cristian Espinoza",
                  "ranking": 3964
                },
                {
                  "player_name": "Gonzalo Valle",
                  "ranking": 3965
                }
              ]
            }
          },
          "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": 16.91,
            "bench_appearance_prob": 0.72,
            "market_value_adjustment": 0.9861,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 10.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0067
            },
            "rationale": "Bench projection scaled from XGBoost F_service (1 historical appearances) to 16.9 expected mins (appearance prob 0.72); FBref playing time empirical prior: 1.0 sub appearances, 10.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1585,
                "goal_rate": 0.1346,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0198,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 9,
                "total_pass": 1,
                "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": 5,
                "possession_lost": 3.0,
                "dispossessed": 2.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "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": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 0.0,
                  "minutesPlayed": 9.0,
                  "shotValueNormalized": 0.0,
                  "accuratePass": 0.0,
                  "expectedAssists": 0.0
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.158486008644104,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0828
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0272
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0245
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0203
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0172
                        }
                      ],
                      "others": -0.0321,
                      "total": 0.1585,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.259293
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.102096
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.101864
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.093258
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.086309
                        }
                      ],
                      "others_margin": -0.184805
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13456521928310394,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0446
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0322
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0252
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0087
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0083
                        }
                      ],
                      "others": -0.033,
                      "total": 0.1346,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.169113
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.142692
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.127819
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.048539
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.048211
                        }
                      ],
                      "others_margin": -0.219737
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.17095334827899933,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.1875
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1247
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0609
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0232
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0218
                        }
                      ],
                      "others": -0.0433,
                      "total": 0.171,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "shot_accuracy",
                          "margin": -0.383469
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.372003
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.248472
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.113898
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.107074
                        }
                      ],
                      "others_margin": -0.225937
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4984651505947113,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.3563
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.1202
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1198
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.1152
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0806
                        }
                      ],
                      "others": -0.1446,
                      "total": 0.4985,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.356293
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.120186
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.119841
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.115152
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.080609
                        }
                      ],
                      "others_margin": -0.144648
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.01980278454720974,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0267
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0045
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0038
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0032
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0064,
                      "total": 0.0198,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.587326
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.145595
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.139228
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.121687
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.073347
                        }
                      ],
                      "others_margin": -0.285501
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.2183629870414734,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.3037
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0396
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0252
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.023
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0107
                        }
                      ],
                      "others": -0.0576,
                      "total": 0.2184,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.593909
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.111876
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.078189
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.077028
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.038152
                        }
                      ],
                      "others_margin": -0.234158
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.606293678283691,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0469
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0341
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0242
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0166
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0154
                        }
                      ],
                      "others": -0.0715,
                      "total": 6.6063,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.046895
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.034131
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.024184
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.01661
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.015385
                        }
                      ],
                      "others_margin": -0.07146
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9861, quality 0.454)",
              "stats": {
                "expected_goals": 0.1563,
                "goal_rate": 0.1327,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0195,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 9,
                "total_pass": 1,
                "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": 5,
                "possession_lost": 2.9582,
                "dispossessed": 1.9721,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "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": 4300000,
                "quality_factor": 0.4535,
                "boost_factor": 0.9861
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0036)",
              "stats": {
                "expected_goals": 0.1563,
                "goal_rate": 0.1322,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0195,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 9,
                "total_pass": 1,
                "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": 5,
                "possession_lost": 2.9582,
                "dispossessed": 1.9721,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "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": 3.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": -9.0
              },
              "params": {
                "blend_weight": 0.0036,
                "history_matches": 1,
                "prior_reliability": 0.0067,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.9861,
                  "after": 1.0188
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 16.9 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0294,
                "goal_rate": 0.0248,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0037,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 17,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.5558,
                "dispossessed": 1.9721,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 3.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.72,
                "bench_expected_minutes": 16.91
              },
              "params": {
                "expected_minutes": 16.91,
                "appearance_probability": 0.72
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0294,
                "goal_rate": 0.0248,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0037,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 17,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.5558,
                "dispossessed": 1.9721,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 3.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.72,
                "bench_expected_minutes": 16.91
              },
              "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 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0393,
                "goal_rate": 0.0248,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0052,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 17,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.5558,
                "dispossessed": 1.9721,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 3.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.72,
                "bench_expected_minutes": 16.91,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9421,
                "creation_factor": 0.9311
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 0.72
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0294,
                  "after": 0.0393
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0393,
                "goal_rate": 0.0248,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0052,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 17,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.5558,
                "dispossessed": 1.9721,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 3.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.72,
                "bench_expected_minutes": 16.91,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9421,
                "creation_factor": 0.9311,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3960,
                "fifa_rank": 2911.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0393,
                "goal_rate": 0.0248,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0052,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 17,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.5558,
                "dispossessed": 1.9721,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 3.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.72,
                "bench_expected_minutes": 16.91,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0277,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9421,
                "creation_factor": 0.9311,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0277,
                "scorer_weight": 0.0267,
                "squad_weight_total": 1.5788,
                "weight_share": 0.0169,
                "finishing_factor": 0.9421,
                "appearance_weight": 0.72,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.0393,
                "goal_rate": 0.0248,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0052,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 17,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.5558,
                "dispossessed": 1.9721,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 3.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.72,
                "bench_expected_minutes": 16.91,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0277,
                "projected_assists": 0,
                "assist_probability": 0.0037,
                "finishing_factor": 0.9421,
                "creation_factor": 0.9311,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0037,
                "provider_weight": 0.0035,
                "squad_weight_total": 1.0264,
                "weight_share": 0.0034,
                "creation_factor": 0.9311,
                "appearance_weight": 0.72,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Maroan Sannadi": {
          "player_id": 1520799,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 21,
          "height": 192,
          "market_value": 2800000,
          "stats": {
            "expected_goals": 0.1055,
            "goal_rate": 0.0478,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0104,
            "key_pass": 0,
            "rating": 6.6033,
            "minutes": 30,
            "total_pass": 1,
            "accurate_pass": 0,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 2,
            "possession_lost": 0.7502,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.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": 12.2,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 2.73,
            "bench_appearance_probability": 0.719,
            "bench_expected_minutes": 29.53,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.957,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.072,
            "projected_assists": 0,
            "assist_probability": 0.0074,
            "finishing_factor": 0.8,
            "creation_factor": 0.8711,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 28,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 2,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322.0,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 9,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2984,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 32,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0113,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "aerial_won": 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": 2642,
            "combined_rank_score": 1225.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 927.0,
            "sofascore_rating": 6.48,
            "sofascore_appearances": 10.0,
            "fifa_rank": 1523.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6033,
            "source_file": "data/player_rankings.csv",
            "player_name": "Maroan Sannadi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "William Pizzi",
                  "ranking": 2637
                },
                {
                  "player_name": "Shohruz Norkhonov",
                  "ranking": 2638
                },
                {
                  "player_name": "Zafar Akromov",
                  "ranking": 2639
                },
                {
                  "player_name": "Danilho Doekhi",
                  "ranking": 2640
                },
                {
                  "player_name": "Randal Kolo Muani",
                  "ranking": 2641
                }
              ],
              "lower": [
                {
                  "player_name": "Marcelo Suárez",
                  "ranking": 2643
                },
                {
                  "player_name": "Jhonier Guerrero",
                  "ranking": 2644
                },
                {
                  "player_name": "Kevin Serna",
                  "ranking": 2645
                },
                {
                  "player_name": "Abdulazizkhon Abdurashidov",
                  "ranking": 2646
                },
                {
                  "player_name": "Pau López",
                  "ranking": 2647
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.442,
          "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.442,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 29.53,
            "bench_appearance_prob": 0.719,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 33.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0267
            },
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 29.5 expected mins (appearance prob 0.72); FBref playing time empirical prior: 1.0 sub appearances, 33.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2453,
                "goal_rate": 0.1502,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.023,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 23,
                "total_pass": 3,
                "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": 7,
                "possession_lost": 2.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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 28.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 9.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.3304,
                  "totalShots": 0.6608,
                  "minutesPlayed": 22.8455,
                  "shotValueNormalized": -0.1817,
                  "accuratePass": 1.9009,
                  "expectedAssists": 0.0042
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.2452504187822342,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.049
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0426
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0284
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0255
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0106
                        }
                      ],
                      "others": -0.0464,
                      "total": 0.2453,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.145239
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.12751
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.083131
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.08109
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.035828
                        }
                      ],
                      "others_margin": -0.173234
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1502128541469574,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0374
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0255
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0214
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0097
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0068
                        }
                      ],
                      "others": -0.0356,
                      "total": 0.1502,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.139843
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.107727
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.100618
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.048872
                        },
                        {
                          "name": "topSpeed",
                          "margin": -0.036029
                        }
                      ],
                      "others_margin": -0.213019
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.37706607580184937,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1414
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0941
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0627
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0163
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0154
                        }
                      ],
                      "others": -0.07,
                      "total": 0.3771,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.274569
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.190833
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.123085
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.034548
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.033907
                        }
                      ],
                      "others_margin": -0.170398
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9074791669845581,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1957
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1449
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0775
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0638
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0599
                        }
                      ],
                      "others": -0.2607,
                      "total": 0.9075,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.195695
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.144884
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.077451
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.0638
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.059932
                        }
                      ],
                      "others_margin": -0.26072
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.022975876927375793,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0198
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.008
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.003
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0021
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0022,
                      "total": 0.023,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.39922
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.221947
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.096216
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.073124
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.071191
                        }
                      ],
                      "others_margin": -0.098989
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.38340914249420166,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1893
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0492
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0473
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0466
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0214
                        }
                      ],
                      "others": -0.134,
                      "total": 0.3834,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.327235
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.095946
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.08429
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.082918
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.040483
                        }
                      ],
                      "others_margin": -0.299969
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.603281021118164,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0416
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0309
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.028
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0264
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.013
                        }
                      ],
                      "others": -0.0718,
                      "total": 6.6033,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.041598
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.030903
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.027952
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.026385
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.012958
                        }
                      ],
                      "others_margin": -0.071882
                    }
                  }
                ],
                "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.2406,
                "goal_rate": 0.1474,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0225,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 23,
                "total_pass": 3,
                "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": 7,
                "possession_lost": 2.2863,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.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": 2800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0108)",
              "stats": {
                "expected_goals": 0.2406,
                "goal_rate": 0.1458,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0225,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 23,
                "total_pass": 3,
                "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": 7,
                "possession_lost": 2.2863,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 12.2,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.73
              },
              "params": {
                "blend_weight": 0.0108,
                "history_matches": 3,
                "prior_reliability": 0.0267,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "totalShots",
                  "before": 0.8904,
                  "after": 0.8807
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 29.5 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0789,
                "goal_rate": 0.0478,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0074,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 30,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.7502,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.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": 12.2,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.73,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 29.53
              },
              "params": {
                "expected_minutes": 29.53,
                "appearance_probability": 0.719
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0789,
                "goal_rate": 0.0478,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0074,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 30,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.7502,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.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": 12.2,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.73,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 29.53
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1055,
                "goal_rate": 0.0478,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0104,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 30,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.7502,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.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": 12.2,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.73,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 29.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8711
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 0.719
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0789,
                  "after": 0.1055
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1055,
                "goal_rate": 0.0478,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0104,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 30,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.7502,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.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": 12.2,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.73,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 29.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8711,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2642,
                "fifa_rank": 1523.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1055,
                "goal_rate": 0.0478,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0104,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 30,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.7502,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.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": 12.2,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.73,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 29.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.072,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8711,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.072,
                "scorer_weight": 0.0607,
                "squad_weight_total": 1.5788,
                "weight_share": 0.0384,
                "finishing_factor": 0.8,
                "appearance_weight": 0.719,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.1055,
                "goal_rate": 0.0478,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0104,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 30,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.7502,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.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": 12.2,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.73,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 29.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.072,
                "projected_assists": 0,
                "assist_probability": 0.0074,
                "finishing_factor": 0.8,
                "creation_factor": 0.8711,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0074,
                "provider_weight": 0.0065,
                "squad_weight_total": 1.0264,
                "weight_share": 0.0063,
                "creation_factor": 0.8711,
                "appearance_weight": 0.719,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Álvaro Djaló": {
          "player_id": 1160960,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 25,
          "height": 176,
          "market_value": 4300000,
          "stats": {
            "expected_goals": 0.0393,
            "goal_rate": 0.0248,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0052,
            "key_pass": 0,
            "rating": 6.6063,
            "minutes": 17,
            "total_pass": 0,
            "accurate_pass": 0,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 1,
            "possession_lost": 0.5558,
            "dispossessed": 1.9721,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 3.7,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.72,
            "bench_expected_minutes": 16.91,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.957,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0277,
            "projected_assists": 0,
            "assist_probability": 0.0037,
            "finishing_factor": 0.9421,
            "creation_factor": 0.9311,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 9,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3960,
            "combined_rank_score": 1935.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 959.0,
            "sofascore_rating": 6.4,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2911.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6063,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álvaro Djaló",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Albert Rusnák",
                  "ranking": 3955
                },
                {
                  "player_name": "Diego Valdés",
                  "ranking": 3956
                },
                {
                  "player_name": "Timo Werner",
                  "ranking": 3957
                },
                {
                  "player_name": "Mateusz Bogusz",
                  "ranking": 3958
                },
                {
                  "player_name": "Aritz Elustondo",
                  "ranking": 3959
                }
              ],
              "lower": [
                {
                  "player_name": "Allan Saint-Maximin",
                  "ranking": 3961
                },
                {
                  "player_name": "Milot Rashica",
                  "ranking": 3962
                },
                {
                  "player_name": "Jeppe Tverskov",
                  "ranking": 3963
                },
                {
                  "player_name": "Cristian Espinoza",
                  "ranking": 3964
                },
                {
                  "player_name": "Gonzalo Valle",
                  "ranking": 3965
                }
              ]
            }
          },
          "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": 16.91,
            "bench_appearance_prob": 0.72,
            "market_value_adjustment": 0.9861,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 10.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0067
            },
            "rationale": "Bench projection scaled from XGBoost F_service (1 historical appearances) to 16.9 expected mins (appearance prob 0.72); FBref playing time empirical prior: 1.0 sub appearances, 10.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1585,
                "goal_rate": 0.1346,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0198,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 9,
                "total_pass": 1,
                "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": 5,
                "possession_lost": 3.0,
                "dispossessed": 2.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "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": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 0.0,
                  "minutesPlayed": 9.0,
                  "shotValueNormalized": 0.0,
                  "accuratePass": 0.0,
                  "expectedAssists": 0.0
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.158486008644104,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0828
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0272
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0245
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0203
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0172
                        }
                      ],
                      "others": -0.0321,
                      "total": 0.1585,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.259293
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.102096
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.101864
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.093258
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.086309
                        }
                      ],
                      "others_margin": -0.184805
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13456521928310394,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0446
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0322
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0252
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0087
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0083
                        }
                      ],
                      "others": -0.033,
                      "total": 0.1346,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.169113
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.142692
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.127819
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.048539
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.048211
                        }
                      ],
                      "others_margin": -0.219737
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.17095334827899933,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.1875
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1247
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0609
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0232
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0218
                        }
                      ],
                      "others": -0.0433,
                      "total": 0.171,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "shot_accuracy",
                          "margin": -0.383469
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.372003
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.248472
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.113898
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.107074
                        }
                      ],
                      "others_margin": -0.225937
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4984651505947113,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.3563
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.1202
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1198
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.1152
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0806
                        }
                      ],
                      "others": -0.1446,
                      "total": 0.4985,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.356293
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.120186
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.119841
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.115152
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.080609
                        }
                      ],
                      "others_margin": -0.144648
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.01980278454720974,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0267
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0045
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0038
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0032
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0064,
                      "total": 0.0198,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.587326
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.145595
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.139228
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.121687
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.073347
                        }
                      ],
                      "others_margin": -0.285501
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.2183629870414734,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.3037
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0396
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0252
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.023
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0107
                        }
                      ],
                      "others": -0.0576,
                      "total": 0.2184,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.593909
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.111876
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.078189
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.077028
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.038152
                        }
                      ],
                      "others_margin": -0.234158
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.606293678283691,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0469
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0341
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0242
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0166
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0154
                        }
                      ],
                      "others": -0.0715,
                      "total": 6.6063,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.046895
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.034131
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.024184
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.01661
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.015385
                        }
                      ],
                      "others_margin": -0.07146
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9861, quality 0.454)",
              "stats": {
                "expected_goals": 0.1563,
                "goal_rate": 0.1327,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0195,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 9,
                "total_pass": 1,
                "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": 5,
                "possession_lost": 2.9582,
                "dispossessed": 1.9721,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "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": 4300000,
                "quality_factor": 0.4535,
                "boost_factor": 0.9861
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0036)",
              "stats": {
                "expected_goals": 0.1563,
                "goal_rate": 0.1322,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0195,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 9,
                "total_pass": 1,
                "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": 5,
                "possession_lost": 2.9582,
                "dispossessed": 1.9721,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "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": 3.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": -9.0
              },
              "params": {
                "blend_weight": 0.0036,
                "history_matches": 1,
                "prior_reliability": 0.0067,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.9861,
                  "after": 1.0188
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 16.9 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0294,
                "goal_rate": 0.0248,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0037,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 17,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.5558,
                "dispossessed": 1.9721,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 3.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.72,
                "bench_expected_minutes": 16.91
              },
              "params": {
                "expected_minutes": 16.91,
                "appearance_probability": 0.72
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0294,
                "goal_rate": 0.0248,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0037,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 17,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.5558,
                "dispossessed": 1.9721,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 3.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.72,
                "bench_expected_minutes": 16.91
              },
              "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 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0393,
                "goal_rate": 0.0248,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0052,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 17,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.5558,
                "dispossessed": 1.9721,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 3.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.72,
                "bench_expected_minutes": 16.91,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9421,
                "creation_factor": 0.9311
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 0.72
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0294,
                  "after": 0.0393
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0393,
                "goal_rate": 0.0248,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0052,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 17,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.5558,
                "dispossessed": 1.9721,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 3.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.72,
                "bench_expected_minutes": 16.91,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9421,
                "creation_factor": 0.9311,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3960,
                "fifa_rank": 2911.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0393,
                "goal_rate": 0.0248,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0052,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 17,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.5558,
                "dispossessed": 1.9721,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 3.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.72,
                "bench_expected_minutes": 16.91,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0277,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9421,
                "creation_factor": 0.9311,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0277,
                "scorer_weight": 0.0267,
                "squad_weight_total": 1.5788,
                "weight_share": 0.0169,
                "finishing_factor": 0.9421,
                "appearance_weight": 0.72,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.0393,
                "goal_rate": 0.0248,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0052,
                "key_pass": 0,
                "rating": 6.6063,
                "minutes": 17,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.5558,
                "dispossessed": 1.9721,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 3.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.72,
                "bench_expected_minutes": 16.91,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0277,
                "projected_assists": 0,
                "assist_probability": 0.0037,
                "finishing_factor": 0.9421,
                "creation_factor": 0.9311,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0037,
                "provider_weight": 0.0035,
                "squad_weight_total": 1.0264,
                "weight_share": 0.0034,
                "creation_factor": 0.9311,
                "appearance_weight": 0.72,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Maroan Sannadi": {
          "player_id": 1520799,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 21,
          "height": 192,
          "market_value": 2800000,
          "stats": {
            "expected_goals": 0.1055,
            "goal_rate": 0.0478,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0104,
            "key_pass": 0,
            "rating": 6.6033,
            "minutes": 30,
            "total_pass": 1,
            "accurate_pass": 0,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 2,
            "possession_lost": 0.7502,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.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": 12.2,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 2.73,
            "bench_appearance_probability": 0.719,
            "bench_expected_minutes": 29.53,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.957,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.072,
            "projected_assists": 0,
            "assist_probability": 0.0074,
            "finishing_factor": 0.8,
            "creation_factor": 0.8711,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 28,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 2,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322.0,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 9,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2984,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 32,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0113,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "aerial_won": 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": 2642,
            "combined_rank_score": 1225.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 927.0,
            "sofascore_rating": 6.48,
            "sofascore_appearances": 10.0,
            "fifa_rank": 1523.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6033,
            "source_file": "data/player_rankings.csv",
            "player_name": "Maroan Sannadi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "William Pizzi",
                  "ranking": 2637
                },
                {
                  "player_name": "Shohruz Norkhonov",
                  "ranking": 2638
                },
                {
                  "player_name": "Zafar Akromov",
                  "ranking": 2639
                },
                {
                  "player_name": "Danilho Doekhi",
                  "ranking": 2640
                },
                {
                  "player_name": "Randal Kolo Muani",
                  "ranking": 2641
                }
              ],
              "lower": [
                {
                  "player_name": "Marcelo Suárez",
                  "ranking": 2643
                },
                {
                  "player_name": "Jhonier Guerrero",
                  "ranking": 2644
                },
                {
                  "player_name": "Kevin Serna",
                  "ranking": 2645
                },
                {
                  "player_name": "Abdulazizkhon Abdurashidov",
                  "ranking": 2646
                },
                {
                  "player_name": "Pau López",
                  "ranking": 2647
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.442,
          "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.442,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 29.53,
            "bench_appearance_prob": 0.719,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 33.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0267
            },
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 29.5 expected mins (appearance prob 0.72); FBref playing time empirical prior: 1.0 sub appearances, 33.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2453,
                "goal_rate": 0.1502,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.023,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 23,
                "total_pass": 3,
                "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": 7,
                "possession_lost": 2.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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 28.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 9.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.3304,
                  "totalShots": 0.6608,
                  "minutesPlayed": 22.8455,
                  "shotValueNormalized": -0.1817,
                  "accuratePass": 1.9009,
                  "expectedAssists": 0.0042
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.2452504187822342,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.049
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0426
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0284
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0255
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0106
                        }
                      ],
                      "others": -0.0464,
                      "total": 0.2453,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.145239
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.12751
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.083131
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.08109
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.035828
                        }
                      ],
                      "others_margin": -0.173234
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1502128541469574,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0374
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0255
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0214
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0097
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0068
                        }
                      ],
                      "others": -0.0356,
                      "total": 0.1502,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.139843
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.107727
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.100618
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.048872
                        },
                        {
                          "name": "topSpeed",
                          "margin": -0.036029
                        }
                      ],
                      "others_margin": -0.213019
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.37706607580184937,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1414
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0941
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0627
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0163
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0154
                        }
                      ],
                      "others": -0.07,
                      "total": 0.3771,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.274569
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.190833
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.123085
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.034548
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.033907
                        }
                      ],
                      "others_margin": -0.170398
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9074791669845581,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1957
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1449
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0775
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0638
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0599
                        }
                      ],
                      "others": -0.2607,
                      "total": 0.9075,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.195695
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.144884
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.077451
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.0638
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.059932
                        }
                      ],
                      "others_margin": -0.26072
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.022975876927375793,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0198
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.008
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.003
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0021
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0022,
                      "total": 0.023,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.39922
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.221947
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.096216
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.073124
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.071191
                        }
                      ],
                      "others_margin": -0.098989
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.38340914249420166,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1893
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0492
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0473
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0466
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0214
                        }
                      ],
                      "others": -0.134,
                      "total": 0.3834,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.327235
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.095946
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.08429
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.082918
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.040483
                        }
                      ],
                      "others_margin": -0.299969
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.603281021118164,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0416
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0309
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.028
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0264
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.013
                        }
                      ],
                      "others": -0.0718,
                      "total": 6.6033,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.041598
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.030903
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.027952
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.026385
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.012958
                        }
                      ],
                      "others_margin": -0.071882
                    }
                  }
                ],
                "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.2406,
                "goal_rate": 0.1474,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0225,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 23,
                "total_pass": 3,
                "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": 7,
                "possession_lost": 2.2863,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.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": 2800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0108)",
              "stats": {
                "expected_goals": 0.2406,
                "goal_rate": 0.1458,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0225,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 23,
                "total_pass": 3,
                "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": 7,
                "possession_lost": 2.2863,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 12.2,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.73
              },
              "params": {
                "blend_weight": 0.0108,
                "history_matches": 3,
                "prior_reliability": 0.0267,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "totalShots",
                  "before": 0.8904,
                  "after": 0.8807
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 29.5 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0789,
                "goal_rate": 0.0478,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0074,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 30,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.7502,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.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": 12.2,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.73,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 29.53
              },
              "params": {
                "expected_minutes": 29.53,
                "appearance_probability": 0.719
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0789,
                "goal_rate": 0.0478,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0074,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 30,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.7502,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.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": 12.2,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.73,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 29.53
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.73 (squad xG sum 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1055,
                "goal_rate": 0.0478,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0104,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 30,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.7502,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.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": 12.2,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.73,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 29.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8711
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 0.719
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0789,
                  "after": 0.1055
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1055,
                "goal_rate": 0.0478,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0104,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 30,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.7502,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.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": 12.2,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.73,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 29.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8711,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2642,
                "fifa_rank": 1523.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1055,
                "goal_rate": 0.0478,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0104,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 30,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.7502,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.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": 12.2,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.73,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 29.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.072,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8711,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.072,
                "scorer_weight": 0.0607,
                "squad_weight_total": 1.5788,
                "weight_share": 0.0384,
                "finishing_factor": 0.8,
                "appearance_weight": 0.719,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.1055,
                "goal_rate": 0.0478,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0104,
                "key_pass": 0,
                "rating": 6.6033,
                "minutes": 30,
                "total_pass": 1,
                "accurate_pass": 0,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.7502,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.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": 12.2,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.73,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 29.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.072,
                "projected_assists": 0,
                "assist_probability": 0.0074,
                "finishing_factor": 0.8,
                "creation_factor": 0.8711,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0074,
                "provider_weight": 0.0065,
                "squad_weight_total": 1.0264,
                "weight_share": 0.0063,
                "creation_factor": 0.8711,
                "appearance_weight": 0.719,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Adama Boiro": {
          "player_id": 1398511,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 0,
          "height": 182,
          "market_value": 2300000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.4816,
            "minutes": 18,
            "total_pass": 2,
            "accurate_pass": 1,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 3,
            "possession_lost": 0.3851,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 5,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 7.8,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.602,
            "bench_expected_minutes": 17.66,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.957,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 20,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7,
                "interceptions": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 4188,
            "combined_rank_score": 2218.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 941.0,
            "sofascore_rating": 6.45,
            "sofascore_appearances": 14.0,
            "fifa_rank": 3496.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.4816,
            "source_file": "data/player_rankings.csv",
            "player_name": "Adama Boiro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Brian Aguirre",
                  "ranking": 4183
                },
                {
                  "player_name": "Christian Fassnacht",
                  "ranking": 4184
                },
                {
                  "player_name": "Aliou Dieng",
                  "ranking": 4185
                },
                {
                  "player_name": "Giacomo Quagliata",
                  "ranking": 4186
                },
                {
                  "player_name": "Abdul Fatawu",
                  "ranking": 4187
                }
              ],
              "lower": [
                {
                  "player_name": "Radek Vítek",
                  "ranking": 4189
                },
                {
                  "player_name": "Gonzalo",
                  "ranking": 4190
                },
                {
                  "player_name": "José Sosa",
                  "ranking": 4191
                },
                {
                  "player_name": "Jason Knight",
                  "ranking": 4192
                },
                {
                  "player_name": "Pablo Marín",
                  "ranking": 4193
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.314,
          "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.314,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 17.66,
            "bench_appearance_prob": 0.602,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 21.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0133
            },
            "rationale": "Bench projection scaled from XGBoost D_service (1 historical appearances) to 17.7 expected mins (appearance prob 0.60); FBref playing time empirical prior: 1.0 sub appearances, 21.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": 0,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 20,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 2.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 24,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.0,
                  "defensive_actions": 1.0,
                  "wonTackle": 0.0,
                  "totalTackle_p90": 0.0,
                  "totalClearance_p90": 4.5,
                  "aerialWon": 0.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7427576184272766,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2007
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.1504
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0808
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0717
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0296
                        }
                      ],
                      "others": -0.0716,
                      "total": 0.7428,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.251285
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.194018
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.099527
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.08873
                        },
                        {
                          "name": "touches",
                          "margin": -0.035663
                        }
                      ],
                      "others_margin": -0.092028
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.6527763605117798,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.3809
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.1146
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0709
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0374
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0216
                        }
                      ],
                      "others": -0.0531,
                      "total": 0.6528,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.337011
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.128456
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.088703
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.05009
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.030135
                        }
                      ],
                      "others_margin": -0.078291
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.4367741346359253,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.2427
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0567
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0254
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0199
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0169
                        }
                      ],
                      "others": -0.0272,
                      "total": 0.4368,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.34809
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.102335
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.049381
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.040586
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.035819
                        }
                      ],
                      "others_margin": -0.060516
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.5700132846832275,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.8103
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4742
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1762
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.1011
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0953
                        }
                      ],
                      "others": -0.1605,
                      "total": 1.57,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.273398
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.203357
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.087514
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.053915
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.05361
                        }
                      ],
                      "others_margin": -0.097244
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.34029439091682434,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.6416
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.136
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0364
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0334
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0192
                        }
                      ],
                      "others": -0.0627,
                      "total": 0.3403,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.703872
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.24401
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.076756
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.076217
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.046545
                        }
                      ],
                      "others_margin": -0.169262
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.23940548300743103,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0737
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0443
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0422
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0382
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0248
                        }
                      ],
                      "others": -0.063,
                      "total": 0.2394,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "minutesPlayed",
                          "margin": -0.073669
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.044319
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.042223
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.038213
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.024767
                        }
                      ],
                      "others_margin": -0.062982
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.481632709503174,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.084
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0517
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0511
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0176
                        },
                        {
                          "name": "touches",
                          "contribution": -0.014
                        }
                      ],
                      "others": -0.0578,
                      "total": 6.4816,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.083999
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.051684
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.051061
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.01763
                        },
                        {
                          "name": "touches",
                          "margin": -0.013992
                        }
                      ],
                      "others_margin": -0.057788
                    }
                  }
                ],
                "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": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 20,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 1.9625,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 24,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 2300000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0072)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 20,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 1.9625,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 24,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": -4.29
              },
              "params": {
                "blend_weight": 0.0072,
                "history_matches": 1,
                "prior_reliability": 0.0133,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.7288,
                  "after": 0.7596
                },
                {
                  "stat": "wasFouled",
                  "before": 0.9812,
                  "after": 1.0102
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 17.7 expected minutes (appearance prob 0.60)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 18,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.3851,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 17.66
              },
              "params": {
                "expected_minutes": 17.66,
                "appearance_probability": 0.602
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 18,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.3851,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 17.66
              },
              "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 1.2943, xG scale 1.3366, xA scale 1.4030, team xA 1.12 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 18,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.3851,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 17.66,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0
              },
              "params": {
                "team_lambda": 1.73,
                "squad_xg_sum": 1.2943,
                "squad_xa_sum": 0.8015,
                "team_expected_assists": 1.1245,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3366,
                "xa_scale": 1.403,
                "opponent_lambda": 1.082,
                "scoreline_reset": true,
                "appearance_weight": 0.602
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 73.0; not used by the projection)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 18,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.3851,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 17.66,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4188,
                "fifa_rank": 3496.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 18,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.3851,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 17.66,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.5788,
                "weight_share": 0.0006,
                "finishing_factor": 1.0,
                "appearance_weight": 0.602,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Nico Williams",
                    "weight": 0.4192,
                    "already": 0,
                    "effective_weight": 0.4192,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.4174
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4816,
                "minutes": 18,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.3851,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.602,
                "bench_expected_minutes": 17.66,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.957,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.001,
                "squad_weight_total": 1.0264,
                "weight_share": 0.001,
                "creation_factor": 1.0,
                "appearance_weight": 0.602,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Beñat Prados",
                    "weight": 0.2028,
                    "already": 0,
                    "effective_weight": 0.2028,
                    "runner_up": "Oihan Sancet",
                    "runner_up_effective_weight": 0.1615,
                    "blocked_own_goal": [
                      "Nico Williams"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.73,
        "expected_assists": 1.12,
        "total_shots": 12,
        "shots_on_target": 3,
        "total_passes": 426,
        "interceptions": 6,
        "tackles": 11,
        "avg_rating": 6.96,
        "possession_estimated_pct": 53.3,
        "pressing_actions_per_90": 7.3
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Jorge de Frutos",
        "attacker_role": "LW",
        "attacker_market_value": 10900000,
        "attacker_height": 173,
        "attacker_skill_quality": 0.533,
        "defenders": [
          "Jesús Areso"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.468,
        "duel_zone": "Left Wing vs Right Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.456,
        "xg_contribution": 0.2443,
        "xg_multiplier": 0.965,
        "shots_in_zone": 1.9,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.2,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Jesús Areso",
            "role": "RB",
            "market_value": 5500000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.544
          }
        ],
        "duel_analysis": "Jorge de Frutos (LW) is evenly matched against Jesús Areso in a direct 1v1 contest. Duel win probability: 46%.  Matchup xG multiplier ×0.97 (×1.00 = his usual level). Projected xG contribution: 0.244 — with neither side clearly dominant."
      },
      {
        "attacker": "Sergio Camello",
        "attacker_role": "RW",
        "attacker_market_value": 3300000,
        "attacker_height": 177,
        "attacker_skill_quality": 0.441,
        "defenders": [
          "Dani Vivian"
        ],
        "defender_roles": [
          "LB"
        ],
        "def_skill_quality_avg": 0.613,
        "duel_zone": "Right Wing vs Left Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.346,
        "xg_contribution": 0.2637,
        "xg_multiplier": 0.8029,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 3,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 1.9,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Dani Vivian",
            "role": "LB",
            "market_value": 18200000,
            "tackles_attempted": 2.1,
            "tackles_won": 1.8,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.0,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.654
          }
        ],
        "duel_analysis": "Sergio Camello (RW) faces tough defensive resistance against Dani Vivian in a direct 1v1 contest. Duel win probability: 35%.  Matchup xG multiplier ×0.80 (×1.00 = his usual level). Projected xG contribution: 0.264 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Alemão",
        "attacker_role": "ST",
        "attacker_market_value": 4400000,
        "attacker_height": 182,
        "attacker_skill_quality": 0.455,
        "defenders": [
          "Aymeric Laporte",
          "Aitor Paredes"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.496,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.1401,
        "xg_multiplier": 0.9145,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.7,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Aymeric Laporte",
            "role": "CB",
            "market_value": 8400000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Aitor Paredes",
            "role": "CB",
            "market_value": 7100000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Alemão (ST) faces tough defensive resistance against Aymeric Laporte and Aitor Paredes in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.91 (×1.00 = his usual level). Projected xG contribution: 0.140 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Isi Palazón",
        "attacker_role": "CDM",
        "attacker_market_value": 3000000,
        "attacker_height": 169,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Mikel Jauregizar"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.725,
        "duel_zone": "CDM vs CDM",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.245,
        "xg_contribution": 0.0704,
        "xg_multiplier": 0.7433,
        "shots_in_zone": 0.8,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.4,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "HIGH",
        "defender_stats": [
          {
            "player": "Mikel Jauregizar",
            "role": "CDM",
            "market_value": 31000000,
            "tackles_attempted": 2.2,
            "tackles_won": 1.9,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.755
          }
        ],
        "duel_analysis": "Isi Palazón (CDM) is heavily outmatched defensively against Mikel Jauregizar in a direct 1v1 contest. Duel win probability: 25%. The quality gap is significant (€3M vs €31M avg). Matchup xG multiplier ×0.74 (×1.00 = his usual level). Projected xG contribution: 0.070 — with very limited chance creation expected."
      },
      {
        "attacker": "Pedro Díaz",
        "attacker_role": "CM",
        "attacker_market_value": 2900000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Mikel Jauregizar"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.725,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.318,
        "xg_contribution": 0.1142,
        "xg_multiplier": 0.8054,
        "shots_in_zone": 1.4,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "HIGH",
        "defender_stats": [
          {
            "player": "Mikel Jauregizar",
            "role": "CDM",
            "market_value": 31000000,
            "tackles_attempted": 2.2,
            "tackles_won": 1.9,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.682
          }
        ],
        "duel_analysis": "Pedro Díaz (CM) faces tough defensive resistance against Mikel Jauregizar in a direct 1v1 contest. Duel win probability: 32%. The quality gap is significant (€3M vs €31M avg). Matchup xG multiplier ×0.81 (×1.00 = his usual level). Projected xG contribution: 0.114 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Giorgi Tsitaishvili",
        "attacker_role": "CM",
        "attacker_market_value": 2700000,
        "attacker_height": 171,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Mikel Jauregizar"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.725,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.28,
        "xg_contribution": 0.1256,
        "xg_multiplier": 0.7507,
        "shots_in_zone": 1.3,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "HIGH",
        "defender_stats": [
          {
            "player": "Mikel Jauregizar",
            "role": "CDM",
            "market_value": 31000000,
            "tackles_attempted": 2.2,
            "tackles_won": 1.9,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.72
          }
        ],
        "duel_analysis": "Giorgi Tsitaishvili (CM) is heavily outmatched defensively against Mikel Jauregizar in a direct 1v1 contest. Duel win probability: 28%. The quality gap is significant (€3M vs €31M avg). Matchup xG multiplier ×0.75 (×1.00 = his usual level). Projected xG contribution: 0.126 — with very limited chance creation expected."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Oihan Sancet",
        "attacker_role": "LW",
        "attacker_market_value": 24000000,
        "attacker_height": 188,
        "attacker_skill_quality": 0.669,
        "defenders": [
          "Adrià Pedrosa"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Left Wing vs Right Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.627,
        "xg_contribution": 0.3337,
        "xg_multiplier": 1.2164,
        "shots_in_zone": 2.3,
        "dribbles_attempted": 4,
        "dribbles_successful": 2.2,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 2.3,
        "fouls_drawn": 1.0,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Adrià Pedrosa",
            "role": "RB",
            "market_value": 2700000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.4,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.373
          }
        ],
        "duel_analysis": "Oihan Sancet (LW) has a clear attacking advantage against Adrià Pedrosa in a direct 1v1 contest. Duel win probability: 63%. The quality gap is significant (€24M vs €3M avg). Matchup xG multiplier ×1.22 (×1.00 = his usual level). Projected xG contribution: 0.334 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Peio Canales",
        "attacker_role": "RW",
        "attacker_market_value": 9700000,
        "attacker_height": 175,
        "attacker_skill_quality": 0.519,
        "defenders": [
          "Andrei Rațiu"
        ],
        "defender_roles": [
          "LB"
        ],
        "def_skill_quality_avg": 0.597,
        "duel_zone": "Right Wing vs Left Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.381,
        "xg_contribution": 0.0933,
        "xg_multiplier": 0.8548,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.0,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.0,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Andrei Rațiu",
            "role": "LB",
            "market_value": 16700000,
            "tackles_attempted": 2.1,
            "tackles_won": 1.7,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.0,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.619
          }
        ],
        "duel_analysis": "Peio Canales (RW) faces tough defensive resistance against Andrei Rațiu in a direct 1v1 contest. Duel win probability: 38%.  Matchup xG multiplier ×0.85 (×1.00 = his usual level). Projected xG contribution: 0.093 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Nico Williams",
        "attacker_role": "CAM",
        "attacker_market_value": 44000000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.8,
        "defenders": [
          "Isi Palazón"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.669,
        "xg_contribution": 0.2811,
        "xg_multiplier": 1.3069,
        "shots_in_zone": 2.9,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.8,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.0,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Isi Palazón",
            "role": "CDM",
            "market_value": 3000000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.3,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.331
          }
        ],
        "duel_analysis": "Nico Williams (CAM) has a clear attacking advantage against Isi Palazón in a direct 1v1 contest. Duel win probability: 67%. The quality gap is significant (€44M vs €3M avg). Matchup xG multiplier ×1.31 (×1.00 = his usual level). Projected xG contribution: 0.281 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Gorka Guruzeta",
        "attacker_role": "ST",
        "attacker_market_value": 4600000,
        "attacker_height": 188,
        "attacker_skill_quality": 0.457,
        "defenders": [
          "Mujaid Sadick",
          "Marash Kumbulla"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.448,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.198,
        "xg_contribution": 0.2559,
        "xg_multiplier": 0.9968,
        "shots_in_zone": 2.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Mujaid Sadick",
            "role": "CB",
            "market_value": 4700000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.802
          },
          {
            "player": "Marash Kumbulla",
            "role": "CB",
            "market_value": 2800000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.802
          }
        ],
        "duel_analysis": "Gorka Guruzeta (ST) is evenly matched against Mujaid Sadick and Marash Kumbulla in a 2-defender block. Duel win probability: 20%.  Matchup xG multiplier ×1.00 (×1.00 = his usual level). Projected xG contribution: 0.256 — with neither side clearly dominant."
      },
      {
        "attacker": "Mikel Jauregizar",
        "attacker_role": "CDM",
        "attacker_market_value": 31000000,
        "attacker_height": 177,
        "attacker_skill_quality": 0.725,
        "defenders": [
          "Pedro Díaz"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.532,
        "xg_contribution": 0.1193,
        "xg_multiplier": 1.1946,
        "shots_in_zone": 1.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pedro Díaz",
            "role": "CM",
            "market_value": 2900000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.468
          }
        ],
        "duel_analysis": "Mikel Jauregizar (CDM) is slightly favored against Pedro Díaz in a direct 1v1 contest. Duel win probability: 53%. The quality gap is significant (€31M vs €3M avg). Matchup xG multiplier ×1.19 (×1.00 = his usual level). Projected xG contribution: 0.119 — creating consistent moderate threat."
      },
      {
        "attacker": "Beñat Prados",
        "attacker_role": "CDM",
        "attacker_market_value": 15500000,
        "attacker_height": 179,
        "attacker_skill_quality": 0.585,
        "defenders": [
          "Pedro Díaz"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.474,
        "xg_contribution": 0.1131,
        "xg_multiplier": 1.1087,
        "shots_in_zone": 1.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pedro Díaz",
            "role": "CM",
            "market_value": 2900000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.526
          }
        ],
        "duel_analysis": "Beñat Prados (CDM) is slightly favored against Pedro Díaz in a direct 1v1 contest. Duel win probability: 47%.  Matchup xG multiplier ×1.11 (×1.00 = his usual level). Projected xG contribution: 0.113 — creating consistent moderate threat."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.437,
      "away_midfield_power": 0.709,
      "home_creative_power": 0.372,
      "away_creative_power": 0.644,
      "home_defensive_power": 0.372,
      "away_defensive_power": 0.542,
      "home_dominance_ratio": 0.381,
      "home_midfield_count": 3,
      "away_midfield_count": 5,
      "home_midfield_players": [
        "Isi Palazón",
        "Pedro Díaz",
        "Giorgi Tsitaishvili"
      ],
      "away_midfield_players": [
        "Nico Williams",
        "Mikel Jauregizar",
        "Oihan Sancet",
        "Beñat Prados",
        "Peio Canales"
      ],
      "possession_advantage": "away",
      "estimated_possession_home_pct": 46.7,
      "estimated_possession_away_pct": 53.3,
      "home_pressing_actions_per_90": 6.0,
      "away_pressing_actions_per_90": 7.3,
      "home_key_passes_projected": 3.7,
      "away_key_passes_projected": 5.4,
      "home_throughball_threat": 1.7,
      "away_throughball_threat": 2.5,
      "key_personal_duel": "Isi Palazón vs Nico Williams",
      "midfield_lambda_factor_home": 0.961,
      "midfield_lambda_factor_away": 1.045
    },
    "formation_analysis": {
      "home_formation": "4-3-3",
      "away_formation": "4-2-3-1",
      "home_tactical_bonus": 0.03,
      "away_tactical_bonus": -0.01,
      "formation_verdict": "Tactical parity between 4-3-3 and 4-2-3-1. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 1.082,
    "away_lambda": 1.73,
    "home_top_threat_zones": [
      "Right Wing vs Left Back — Flank Battle",
      "Left Wing vs Right Back — Flank Battle"
    ],
    "away_top_threat_zones": [
      "Left Wing vs Right Back — Flank Battle",
      "Attacking Mid vs Single Holding Mid — Space Creator Duel"
    ],
    "home_player_antagonists": {
      "Jorge de Frutos": {
        "opponents": [
          "Jesús Areso"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel"
      },
      "Sergio Camello": {
        "opponents": [
          "Dani Vivian"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "attacking_duel"
      },
      "Alemão": {
        "opponents": [
          "Aymeric Laporte",
          "Aitor Paredes"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Isi Palazón": {
        "opponents": [
          "Mikel Jauregizar",
          "Nico Williams",
          "Oihan Sancet"
        ],
        "primary_zone": "CDM vs CDM",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Pedro Díaz": {
        "opponents": [
          "Mikel Jauregizar",
          "Beñat Prados",
          "Peio Canales"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Giorgi Tsitaishvili": {
        "opponents": [
          "Mikel Jauregizar",
          "Beñat Prados"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Adrià Pedrosa": {
        "opponents": [
          "Oihan Sancet"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Andrei Rațiu": {
        "opponents": [
          "Peio Canales"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Mujaid Sadick": {
        "opponents": [
          "Gorka Guruzeta"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Marash Kumbulla": {
        "opponents": [
          "Gorka Guruzeta"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Augusto Batalla": {
        "opponents": [
          "Gorka Guruzeta",
          "Nico Williams"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Jesús Areso": {
        "opponents": [
          "Jorge de Frutos"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Dani Vivian": {
        "opponents": [
          "Sergio Camello"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Aymeric Laporte": {
        "opponents": [
          "Alemão"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Aitor Paredes": {
        "opponents": [
          "Alemão"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Mikel Jauregizar": {
        "opponents": [
          "Isi Palazón",
          "Pedro Díaz",
          "Giorgi Tsitaishvili"
        ],
        "primary_zone": "CDM vs CDM",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Oihan Sancet": {
        "opponents": [
          "Adrià Pedrosa",
          "Isi Palazón"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Peio Canales": {
        "opponents": [
          "Andrei Rațiu",
          "Pedro Díaz"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Nico Williams": {
        "opponents": [
          "Isi Palazón"
        ],
        "primary_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Gorka Guruzeta": {
        "opponents": [
          "Mujaid Sadick",
          "Marash Kumbulla"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Beñat Prados": {
        "opponents": [
          "Pedro Díaz",
          "Giorgi Tsitaishvili"
        ],
        "primary_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Unai Simón": {
        "opponents": [
          "Jorge de Frutos",
          "Sergio Camello"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Away midfield dictates play with ~53% possession expected (Isi Palazón vs Nico Williams). Total antagonist xG — Home: 0.96, Away: 1.20. Home danger zone: Right Wing vs Left Back — Flank Battle. Away danger zone: Left Wing vs Right Back — Flank Battle.",
    "lambda_factors": {
      "home_gk_opposition_factor": 0.9273,
      "away_gk_opposition_factor": 0.9965,
      "home_set_piece_bonus": 0.046,
      "away_set_piece_bonus": 0.1323,
      "home_defensive_solidity_vs": 0.978,
      "away_defensive_solidity_vs": 0.9809,
      "home_midfield_factor": 0.961,
      "away_midfield_factor": 1.045,
      "stage_discount": 1.0,
      "quality_gap_applied": true,
      "home_avg_quality": 0.4672,
      "away_avg_quality": 0.5827,
      "avg_quality_gap": -0.1155,
      "squad_value_gap_log": -1.0213,
      "top5_value_gap_log": -1.0487,
      "attack_value_gap_log": -1.3167,
      "elite_count_gap": -1,
      "combined_quality_gap": -0.2665,
      "stronger_lambda_boost": 0.1466,
      "weaker_lambda_suppression": 0.0853,
      "home_bench_lambda_bonus": 0.1223,
      "away_bench_lambda_bonus": 0.1087,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "Rayo Vallecano",
        "away_squad": "Athletic Club",
        "home_goals_per90": 1.3333333333333333,
        "away_goals_against_per90": 1.0,
        "away_goals_per90": 1.0,
        "home_goals_against_per90": 1.33,
        "home_empirical_lambda": 0.988,
        "away_empirical_lambda": 0.985,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": false,
      "competitive_underdog_floor_applied": false,
      "competitive_underdog_floor": 1.0,
      "competitive_underdog_floor_mode": "disabled_ablation",
      "pre_competitive_floor_home_lambda": 1.082,
      "pre_competitive_floor_away_lambda": 1.73,
      "pre_calibration_home_lambda": 1.0823,
      "pre_calibration_away_lambda": 1.7298,
      "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.082,
      "final_away_lambda": 1.73
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 12,
    "opponent_position": 10,
    "standing_lambda_multiplier": 0.9484,
    "attack_index": 1.271,
    "defense_concede_index": 0.693,
    "form_multiplier": 0.989,
    "team_attack_rate_contextual": 1.83,
    "opp_defense_rate_contextual": 1.0,
    "team_ppg": 1.14,
    "opponent_ppg": 1.33
  },
  "away_standing": {
    "available": true,
    "team_position": 10,
    "opponent_position": 12,
    "standing_lambda_multiplier": 1.1801,
    "attack_index": 0.809,
    "defense_concede_index": 1.848,
    "form_multiplier": 1.011,
    "team_attack_rate_contextual": 1.17,
    "opp_defense_rate_contextual": 2.67,
    "team_ppg": 1.33,
    "opponent_ppg": 1.14
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Rayo Vallecano vs Athletic Club. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 4-3-3 vs 4-2-3-1 (duel lambdas: Home 1.082, Away 1.730). Final calibrated Poisson lambdas: Home 1.082, Away 1.730 (most likely score 0-1).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 10,
      "home_fbref_players": 5,
      "away_starters_count": 11,
      "away_xgboost_players": 9,
      "away_fbref_players": 9,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": true,
      "home_squad": "Rayo Vallecano",
      "away_squad": "Athletic Club",
      "home_goals_per90": 1.3333333333333333,
      "away_goals_against_per90": 1.0,
      "away_goals_per90": 1.0,
      "home_goals_against_per90": 1.33,
      "home_empirical_lambda": 0.988,
      "away_empirical_lambda": 0.985,
      "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.082,
      "away_lambda": 1.73,
      "micro_duel_home_lambda": 1.082,
      "micro_duel_away_lambda": 1.73
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": false,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-09-30T01:05:15Z",
  "stat_limits": {
    "saves": 15.0,
    "goalsPrevented": 5.0,
    "keeperSaveValue": 3.0,
    "interceptionWon": 10.0,
    "totalTackle": 12.0,
    "wonTackle": 10.0,
    "totalClearance": 18.0,
    "aerialWon": 15.0,
    "aerialLost": 12.0,
    "totalPass": 150.0,
    "accuratePass": 145.0,
    "keyPass": 8.0,
    "expectedAssists": 1.5,
    "goalAssist": 4.0,
    "expectedGoals": 3.0,
    "expectedGoalsOnTarget": 6.0,
    "xgot": 6.0,
    "goals": 5.0,
    "totalShots": 12.0,
    "onTargetScoringAttempt": 8.0,
    "shotOffTarget": 8.0,
    "rating": 10.0,
    "minutesPlayed": 130.0,
    "duelWon": 20.0,
    "duelLost": 20.0,
    "ballRecovery": 18.0,
    "fouls": 12.0
  }
}